Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.521/1.521, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.59 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001675/0.1706, allocations: 0.7709 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.1713, allocations: 0.836 MB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.1714, allocations: 4 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.1714, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.1714, allocations: 3.938 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.1716, allocations: 15.98 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1716, allocations: 35.92 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.1717, allocations: 7.984 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.1718, allocations: 19.92 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.1718, allocations: 27.84 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1718, allocations: 8 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.1719, allocations: 0 / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1719, allocations: 7.922 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.1719, allocations: 11.94 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.172, allocations: 35.88 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.172, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.02e-07/0.172, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.172, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004233/0.1724, allocations: 375.6 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1725, allocations: 12.03 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.1725, allocations: 30.75 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.1725, allocations: 0.9375 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.1726, allocations: 172.2 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1726, allocations: 4.375 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1726, allocations: 4.375 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1729, allocations: 74.14 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1729, allocations: 7.875 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.1729, allocations: 4 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1729, allocations: 0 / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1731, allocations: 63.92 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.1734, allocations: 272.9 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1736, allocations: 54.55 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1738, allocations: 40.91 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1738, allocations: 3.938 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1738, allocations: 30.56 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1738, allocations: 4 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004735/0.1743, allocations: 129.5 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1743, allocations: 55.39 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.1744, allocations: 109.8 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1744, allocations: 25.7 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1745, allocations: 92.08 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1745, allocations: 7.906 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.1745, allocations: 13.72 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.1746, allocations: 318.8 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1748, allocations: 35.91 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1749, allocations: 36.14 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1751, allocations: 72.81 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1751, allocations: 0 / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002881/0.1754, allocations: 105.5 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1754, allocations: 6.188 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1754, allocations: 0 / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1755, allocations: 0 / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1756, allocations: 15.98 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1756, allocations: 0 / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.1757, allocations: 11.98 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1757, allocations: 3.938 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.1757, allocations: 125 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1758, allocations: 4 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.1761, allocations: 109.5 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1761, allocations: 0 / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1761, allocations: 0 / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1761, allocations: 3.938 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.1763, allocations: 165.6 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1763, allocations: 4 kB / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.1764, allocations: 19.97 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1764, allocations: 0 / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1764, allocations: 4 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1764, allocations: 4 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1764, allocations: 3.938 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1767, allocations: 195.3 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.1767, allocations: 81.11 kB / 0.7873 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1768, allocations: 3.984 kB / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1769, allocations: 15.98 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1769, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1769, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.177, allocations: 91.27 kB / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 4 kB / 0.7874 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002045/0.1772, allocations: 8 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005457/0.1777, allocations: 0.7357 MB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.178, allocations: 63.92 kB / 0.7882 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.178, allocations: 3.938 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1782, allocations: 35.97 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.1784, allocations: 12.36 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.1788, allocations: 165.9 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.179, allocations: 0.677 MB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.179, allocations: 4 kB / 0.7891 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.179, allocations: 15.44 kB / 0.7891 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.179, allocations: 0 / 0.7891 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/0.2752, allocations: 1.354 MB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.2754, allocations: 215.9 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.814, allocations: 0 / 0.7907 GB, free: 5.453 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)