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.001191/0.001191, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001202/0.001202, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 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.471/2.471, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.95 kB / 0.8708 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3842, allocations: 151.6 MB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.005451/0.3898, allocations: 2.132 MB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3922, allocations: 1.174 MB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.3925, allocations: 4 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.393, allocations: 91.45 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.3934, allocations: 91.53 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3939, allocations: 202.1 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.3943, allocations: 315.9 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.3947, allocations: 119.6 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3949, allocations: 135.4 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3951, allocations: 143.4 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.3951, allocations: 31.98 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3953, allocations: 59.98 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3954, allocations: 83.75 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3956, allocations: 143.1 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.3962, allocations: 470.3 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3962, allocations: 4 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3962, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.3963, allocations: 4 kB / 1.024 GB, free: 4.594 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.001233/0.3975, allocations: 0.6034 MB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.3976, allocations: 12.88 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.3977, allocations: 36.5 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.3982, allocations: 347.5 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3982, allocations: 12.38 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.3983, allocations: 27.94 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.3987, allocations: 181.1 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3987, allocations: 3.938 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.3987, allocations: 4 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3987, allocations: 4 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.399, allocations: 127.9 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.4001, allocations: 0.6559 MB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.4005, allocations: 194.8 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.4007, allocations: 84.81 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.4007, allocations: 4 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.401, allocations: 123.3 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.401, allocations: 0 / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0005356/0.4016, allocations: 235.7 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4016, allocations: 51.41 kB / 1.027 GB, free: 1.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.4021, allocations: 370.7 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.4021, allocations: 37.7 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4023, allocations: 164.4 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.4023, allocations: 47.44 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4025, allocations: 69.62 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4027, allocations: 342.8 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4028, allocations: 87.97 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4031, allocations: 136.2 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.4034, allocations: 154.5 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4034, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004537/0.4038, allocations: 261.3 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4039, allocations: 8 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4039, allocations: 0 / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4039, allocations: 0 / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.4041, allocations: 40 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4041, allocations: 11.97 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4043, allocations: 31.81 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.4043, allocations: 8 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.0001788/0.4045, allocations: 172.2 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4045, allocations: 27.62 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.4046, allocations: 34.25 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4046, allocations: 7.938 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.4047, allocations: 3.938 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4047, allocations: 0 / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.405, allocations: 329.3 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.405, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.4051, allocations: 19.94 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4051, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4051, allocations: 7.984 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4051, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4052, allocations: 3.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.4055, allocations: 215.3 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.4056, allocations: 108.8 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.4056, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.4057, allocations: 15.97 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4059, allocations: 39.89 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4059, allocations: 7.938 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002335/0.4061, allocations: 229.9 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4061, allocations: 0 / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002971/0.4064, allocations: 59.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.001206/0.4076, allocations: 428.2 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.4081, allocations: 195.9 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.4081, allocations: 4.062 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.4083, allocations: 82.33 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.0003797/0.4087, allocations: 56.86 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.0009893/0.4097, 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.0004054/0.4101, allocations: 0.7675 MB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.4102, allocations: 46.19 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.4103, allocations: 35.42 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.4103, allocations: 0 / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.008242/0.4186, allocations: 3.594 MB / 1.035 GB, free: 9.094 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 cvode -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