Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.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_maint.7.0.x_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="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001068, allocations: 178.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008201/0.0008202, allocations: 96.33 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.487e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 106.3 MB / 0.8918 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6116/0.8114, allocations: 132.7 MB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.8117, allocations: 72.58 kB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008304/0.82, allocations: 3.143 MB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.363e-06/0.82, allocations: 0 / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.82, allocations: 4 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008408/0.8209, allocations: 0.5169 MB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8209, allocations: 8.031 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.821, allocations: 23.72 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.8212, allocations: 210.4 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.8212, allocations: 14.44 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.8213, allocations: 22.94 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.8216, allocations: 177.6 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8217, allocations: 0 / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.8217, allocations: 7.188 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.8217, allocations: 7.984 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.822, allocations: 140.9 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.8231, allocations: 0.6204 MB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.8234, allocations: 158.8 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.8236, allocations: 74.66 kB / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.8236, allocations: 0 / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.8239, allocations: 140.2 kB / 1.027 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.8239, allocations: 3.938 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0003428/0.8242, allocations: 174.1 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.8243, allocations: 62.77 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.8245, allocations: 181.6 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.8245, allocations: 37.2 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.8246, allocations: 146 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.8247, allocations: 50.36 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.8247, allocations: 3.875 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8248, allocations: 330.6 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.8249, allocations: 69.44 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.8251, allocations: 111 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.8252, allocations: 59.86 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8252, allocations: 3.938 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003125/0.8255, allocations: 207 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8256, allocations: 8 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8256, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8256, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.8258, allocations: 47.41 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.8259, allocations: 11.95 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.8261, allocations: 55.09 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.8262, allocations: 11.5 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.8263, allocations: 129.7 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.8263, allocations: 15.81 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.8264, allocations: 27.95 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8264, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8264, allocations: 4 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8264, allocations: 3.953 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.8267, allocations: 301.2 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8267, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.8269, allocations: 35.97 kB / 1.029 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.8269, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.8269, allocations: 2.5 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.827, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.827, allocations: 7.984 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.8273, allocations: 205.4 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.8273, allocations: 96.36 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.8274, allocations: 7.375 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.8276, allocations: 43.39 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.8277, allocations: 47.03 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.8278, allocations: 7.875 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.878e-05/0.8279, allocations: 142.2 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8279, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000225/0.8281, allocations: 55.08 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001405/0.8282, allocations: 118.3 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.8286, allocations: 170.2 kB / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8286, allocations: 3.938 kB / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8287, allocations: 92.17 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.8289, allocations: 26.67 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.8294, allocations: 249.6 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.8297, allocations: 0.7441 MB / 1.031 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.8298, allocations: 18.08 kB / 1.031 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.8299, allocations: 23.42 kB / 1.031 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/0.8299, allocations: 0 / 1.031 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of Templates: time 0.004978/0.8349, allocations: 2.376 MB / 1.033 GB, free: 7.215 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches