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.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.514/1.514, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001631/0.001631, allocations: 71.53 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1705, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001856/0.1724, allocations: 0.7023 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.1732, allocations: 0.836 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.1733, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.1733, allocations: 3.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.1734, allocations: 7.922 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1735, allocations: 15.98 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.1736, allocations: 43.84 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.1737, allocations: 15.98 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.1738, allocations: 15.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.1738, allocations: 23.92 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1738, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.1739, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.1739, allocations: 11.98 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1739, allocations: 19.84 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.75e-05/0.174, allocations: 35.88 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.174, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.174, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.174, allocations: 4 kB / 0.7852 GB, free: 11.61 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.0004695/0.1745, allocations: 367.6 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1746, allocations: 12.03 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1746, allocations: 30.75 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1746, allocations: 4.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1747, allocations: 176.2 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1748, allocations: 4.375 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1748, allocations: 8.375 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.175, allocations: 66.22 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.175, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.175, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1751, allocations: 4 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.1753, allocations: 59.92 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1756, allocations: 280.8 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1759, allocations: 58.53 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.176, allocations: 32.92 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.176, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1761, allocations: 38.56 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1761, allocations: 3.938 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004957/0.1766, allocations: 133.4 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1766, allocations: 51.41 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.1767, allocations: 113.8 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1767, allocations: 29.7 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1767, allocations: 84.12 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1768, allocations: 7.906 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1768, allocations: 17.7 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.1769, allocations: 314.8 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.177, allocations: 35.95 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1772, allocations: 31.97 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1774, allocations: 72.72 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1774, allocations: 0 / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000307/0.1778, allocations: 105.5 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1778, allocations: 4 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1778, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1778, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1779, allocations: 15.98 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1779, allocations: 3.984 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.178, allocations: 11.98 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.178, allocations: 0 / 0.7873 GB, free: 9.23 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.352e-05/0.1781, allocations: 121.8 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1781, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.1785, allocations: 117.7 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1785, allocations: 0 / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1785, allocations: 0 / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1785, allocations: 4 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1786, allocations: 169.6 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1787, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.1787, allocations: 15.98 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1788, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1788, allocations: 4 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1788, allocations: 4 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1788, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1791, allocations: 203.3 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.1792, allocations: 77.11 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1792, allocations: 3.938 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1793, allocations: 19.92 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1793, allocations: 7.922 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1793, allocations: 4 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.1794, allocations: 87.28 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1794, allocations: 0 / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002066/0.1796, allocations: 8 kB / 0.7881 GB, free: 8.297 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.0005736/0.1802, allocations: 0.7318 MB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.1805, allocations: 71.86 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1805, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1806, allocations: 39.95 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1809, allocations: 8 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1813, allocations: 151.1 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.1815, allocations: 0.6807 MB / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1815, allocations: 4 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1816, allocations: 15.44 kB / 0.7897 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1816, allocations: 0 / 0.7897 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.117/1.299, allocations: 1.594 MB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.49, allocations: 18.38 kB / 0.7913 GB, free: 4.977 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)