Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001506/0.001506, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.05 kB / 0.8708 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 151.7 MB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003477/0.2731, allocations: 2.117 MB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.275, allocations: 1.174 MB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2751, allocations: 4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.2755, allocations: 91.52 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.2758, allocations: 99.45 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.2762, allocations: 195.9 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.2766, allocations: 323.8 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2768, allocations: 111.6 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.277, allocations: 135.4 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2772, allocations: 139.4 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.2772, allocations: 28 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2774, allocations: 75.86 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2775, allocations: 83.73 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2776, allocations: 139.2 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.2781, allocations: 470.3 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 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.0009417/0.2791, allocations: 0.6111 MB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2791, allocations: 12.88 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.2792, allocations: 40.55 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.2797, allocations: 335.5 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2797, allocations: 16.38 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.2798, allocations: 23.94 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.2801, allocations: 181.1 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2801, allocations: 4 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2801, allocations: 11.94 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2801, allocations: 4 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.2804, allocations: 127.9 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2814, allocations: 0.652 MB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.2819, allocations: 194.8 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.282, allocations: 84.77 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2821, allocations: 4 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.2823, allocations: 122.3 kB / 1.026 GB, free: 2.039 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.2823, allocations: 4 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0004987/0.2828, allocations: 229.2 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2829, allocations: 55.41 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.2832, allocations: 374.7 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.2833, allocations: 29.7 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2834, allocations: 168.4 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.2834, allocations: 51.44 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2835, allocations: 65.69 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2837, allocations: 338.8 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2839, allocations: 91.97 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.2841, allocations: 132.2 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2843, allocations: 158.6 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2843, allocations: 4 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004267/0.2848, allocations: 261.3 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2848, allocations: 4 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2848, allocations: 3.938 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2848, allocations: 4 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.285, allocations: 35.97 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.285, allocations: 7.875 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2852, allocations: 39.8 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.2852, allocations: 12 kB / 1.028 GB, free: 15.94 MB / 0.8106 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 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * 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.0001547/0.2854, allocations: 172.2 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.2854, allocations: 27.62 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.2855, allocations: 30.25 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2855, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2855, allocations: 7.938 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2855, allocations: 0 / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.2858, allocations: 325.4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2858, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.2859, allocations: 12 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2859, allocations: 4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2859, allocations: 7.922 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2859, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2859, allocations: 3.938 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.2863, allocations: 219.6 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.2864, allocations: 104.8 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.2864, allocations: 11.98 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2865, allocations: 11.98 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.2867, allocations: 39.92 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.2867, allocations: 8 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000235/0.287, allocations: 225.9 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.287, allocations: 0 / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003071/0.2873, allocations: 63.89 kB / 1.029 GB, free: 14.59 MB / 0.8106 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.0011/0.2884, allocations: 428.9 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.2888, allocations: 199.9 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2888, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.289, allocations: 93.91 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2894, allocations: 41.98 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.2902, allocations: 480.5 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2905, allocations: 0.7714 MB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.2907, allocations: 38.27 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.2907, allocations: 27.42 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.2908, allocations: 0 / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.007207/0.298, allocations: 3.613 MB / 1.035 GB, free: 9.09 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches