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.00112/0.00112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001139/0.001139, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.165/1.165, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.503/1.503, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001458/0.001458, allocations: 68.48 kB / 0.6711 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1617, allocations: 114.5 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001633/0.1634, allocations: 0.7672 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.1641, allocations: 0.832 MB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.1641, allocations: 4 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1641, allocations: 0 / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.1642, allocations: 7.938 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1643, allocations: 15.98 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.1644, allocations: 39.91 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.1645, allocations: 11.98 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.1645, allocations: 23.86 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.1646, allocations: 19.92 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1646, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.1646, allocations: 8 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1646, allocations: 4 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1646, allocations: 19.86 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.582e-05/0.1647, allocations: 39.86 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1647, allocations: 4 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1647, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1647, allocations: 3.938 kB / 0.7848 GB, free: 11.93 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.0003956/0.1651, allocations: 367.6 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1652, allocations: 12.03 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.1652, allocations: 34.75 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.8e-05/0.1652, allocations: 0.9375 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.07e-05/0.1653, allocations: 172.2 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1653, allocations: 4.375 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1653, allocations: 4.375 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1656, allocations: 74.14 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1656, allocations: 3.938 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1656, allocations: 3.984 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1656, allocations: 8 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1658, allocations: 63.92 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1661, allocations: 260.9 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1663, allocations: 62.47 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1664, allocations: 44.84 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1664, allocations: 0 / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.1665, allocations: 34.56 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1665, allocations: 0 / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000451/0.1669, allocations: 129.5 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.167, allocations: 55.41 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.167, allocations: 105.8 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.167, allocations: 25.7 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.1671, allocations: 96.12 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.1671, allocations: 7.844 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1671, allocations: 17.72 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.1672, allocations: 314.8 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1673, allocations: 27.97 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1675, allocations: 31.97 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.1677, allocations: 72.72 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1677, allocations: 4 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002743/0.168, allocations: 97.53 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.168, allocations: 11.98 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.168, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.168, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1681, allocations: 19.92 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.1681, allocations: 0 / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.1682, allocations: 11.98 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1682, allocations: 0 / 0.7868 GB, free: 9.559 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 5.353e-05/0.1683, allocations: 113.8 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1683, allocations: 8 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1686, allocations: 113.4 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1686, allocations: 3.938 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1687, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1687, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1688, allocations: 173.6 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1688, allocations: 0 / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/0.1689, allocations: 19.98 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1689, allocations: 4.312 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1689, allocations: 3.984 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1689, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1689, allocations: 3.938 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1692, allocations: 203.3 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.1693, allocations: 81.11 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1693, allocations: 0 / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.1694, allocations: 15.97 kB / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1694, allocations: 4 kB / 0.7875 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1694, allocations: 0 / 0.7875 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.1695, allocations: 95.56 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1695, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000196/0.1697, allocations: 8 kB / 0.7876 GB, free: 8.621 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.0005018/0.1702, allocations: 0.7357 MB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1705, allocations: 67.92 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1705, allocations: 0 / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1706, allocations: 43.91 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1709, allocations: 3.984 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1712, allocations: 164.2 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.1714, allocations: 0.6768 MB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.1714, allocations: 7.984 kB / 0.7893 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1714, allocations: 11.44 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1715, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.484/4.656, allocations: 1.408 MB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/4.656, allocations: 213.2 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/6.663, allocations: 0 / 0.7909 GB, free: 5.27 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)