Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.828/1.828, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 179.5 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.000865, allocations: 97.98 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 8 kB / 0.9225 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7125, allocations: 121.3 MB / 1.041 GB, free: 58.9 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002664/0.7152, allocations: 1.74 MB / 1.043 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.7171, allocations: 1.236 MB / 1.044 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.7172, allocations: 8.5 kB / 1.044 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.7176, allocations: 79.08 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.7179, allocations: 74.19 kB / 1.044 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.7183, allocations: 167.8 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.7186, allocations: 294.6 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.7189, allocations: 112.5 kB / 1.045 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.719, allocations: 99.84 kB / 1.045 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.7192, allocations: 114.7 kB / 1.045 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.7192, allocations: 6.75 kB / 1.045 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.7193, allocations: 49.03 kB / 1.045 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.7194, allocations: 59.88 kB / 1.045 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.7195, allocations: 144.1 kB / 1.045 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.72, allocations: 417.9 kB / 1.045 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.72, allocations: 4.719 kB / 1.045 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.72, allocations: 0 / 1.045 GB, free: 56.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.72, allocations: 0.8438 kB / 1.045 GB, free: 56.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008558/0.7209, allocations: 0.5604 MB / 1.046 GB, free: 55.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.721, allocations: 10.22 kB / 1.046 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.721, allocations: 34.28 kB / 1.046 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.7215, allocations: 347.7 kB / 1.046 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.7216, allocations: 24.34 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.7216, allocations: 18.78 kB / 1.046 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.7219, allocations: 174.4 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.722, allocations: 1.375 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.722, allocations: 7.312 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.722, allocations: 2.875 kB / 1.047 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.7222, allocations: 131 kB / 1.047 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.7233, allocations: 0.6717 MB / 1.047 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.7239, allocations: 190.7 kB / 1.047 GB, free: 54.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.7241, allocations: 78.41 kB / 1.048 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.7242, allocations: 3.312 kB / 1.048 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.7244, allocations: 123.8 kB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.7245, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005353/0.725, allocations: 239.2 kB / 1.048 GB, free: 54.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.725, allocations: 57.31 kB / 1.048 GB, free: 54.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.7255, allocations: 357 kB / 1.048 GB, free: 54.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.7256, allocations: 32.36 kB / 1.048 GB, free: 54.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.7257, allocations: 172.1 kB / 1.049 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.7258, allocations: 49.22 kB / 1.049 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.7258, allocations: 4 kB / 1.049 GB, free: 53.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7259, allocations: 345.2 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.7261, allocations: 87.09 kB / 1.049 GB, free: 53.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.7263, allocations: 136.1 kB / 1.049 GB, free: 53.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.7266, allocations: 148 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7266, allocations: 0 / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004673/0.7271, allocations: 268.8 kB / 1.049 GB, free: 53.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.7271, allocations: 4.719 kB / 1.05 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7272, allocations: 9.625 kB / 1.05 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.7272, allocations: 5.188 kB / 1.05 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.7274, allocations: 36.08 kB / 1.05 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.7274, allocations: 5.125 kB / 1.05 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.7275, allocations: 42.88 kB / 1.05 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.7276, allocations: 12.78 kB / 1.05 GB, free: 53.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001757/0.7278, allocations: 166.8 kB / 1.05 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.7278, allocations: 22.59 kB / 1.05 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.7279, allocations: 40.7 kB / 1.05 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.7279, allocations: 7.938 kB / 1.05 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7279, allocations: 0 / 1.05 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7279, allocations: 0 / 1.05 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.7282, allocations: 322.9 kB / 1.05 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7282, allocations: 0 / 1.05 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.7283, allocations: 21.12 kB / 1.05 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7283, allocations: 1.734 kB / 1.05 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.7283, allocations: 3.75 kB / 1.05 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.7284, allocations: 5.219 kB / 1.05 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7284, allocations: 1.312 kB / 1.05 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.7287, allocations: 210.3 kB / 1.05 GB, free: 52.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.7288, allocations: 110.6 kB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.7288, allocations: 10.22 kB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.7289, allocations: 19.98 kB / 1.051 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.729, allocations: 35.66 kB / 1.051 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.729, allocations: 12.88 kB / 1.051 GB, free: 52.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002292/0.7293, allocations: 225.8 kB / 1.051 GB, free: 52.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.024e-06/0.7293, allocations: 0 / 1.051 GB, free: 52.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002859/0.7296, allocations: 70.77 kB / 1.051 GB, free: 52.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001047/0.7307, allocations: 494.7 kB / 1.051 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.731, allocations: 195.5 kB / 1.051 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7311, allocations: 0 / 1.051 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.7312, allocations: 79.25 kB / 1.052 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.7316, allocations: 48.64 kB / 1.052 GB, free: 52.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.7324, allocations: 0.5531 MB / 1.052 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.7327, allocations: 0.78 MB / 1.053 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.7328, allocations: 40.23 kB / 1.053 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.7329, allocations: 35.28 kB / 1.053 GB, free: 50.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.7329, allocations: 0 / 1.053 GB, free: 50.99 MB / 0.698 GB Notification: Performance of Templates: time 0.007515/0.7404, allocations: 3.275 MB / 1.056 GB, free: 50.75 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)