Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.228/2.228, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 0.7915 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 95.94 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.036e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.303, allocations: 155.4 MB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.303, allocations: 95.8 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02362/1.327, allocations: 8.632 MB / 1.379 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.327, allocations: 3.938 kB / 1.379 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.22e-05/1.327, allocations: 8 kB / 1.379 GB, free: 7.27 MB / 0.8386 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.0009497/1.328, allocations: 0.5351 MB / 1.38 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.328, allocations: 12.03 kB / 1.38 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/1.328, allocations: 39.48 kB / 1.38 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/1.328, allocations: 330.2 kB / 1.38 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/1.328, allocations: 17.81 kB / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/1.328, allocations: 22.56 kB / 1.38 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/1.329, allocations: 183.1 kB / 1.38 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.329, allocations: 0 / 1.38 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/1.329, allocations: 7.5 kB / 1.38 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.329, allocations: 4 kB / 1.38 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/1.329, allocations: 135.2 kB / 1.38 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/1.33, allocations: 0.679 MB / 1.381 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/1.331, allocations: 193.8 kB / 1.381 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/1.331, allocations: 81.53 kB / 1.381 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/1.331, allocations: 4 kB / 1.381 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/1.331, allocations: 136.6 kB / 1.381 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/1.331, allocations: 0 / 1.381 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003898/1.332, allocations: 186.9 kB / 1.382 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.332, allocations: 51.41 kB / 1.382 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/1.332, allocations: 336.5 kB / 1.382 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/1.332, allocations: 36.45 kB / 1.382 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.332, allocations: 169.6 kB / 1.382 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/1.332, allocations: 46.28 kB / 1.382 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/1.332, allocations: 2.812 kB / 1.382 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.332, allocations: 347.4 kB / 1.383 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/1.333, allocations: 97.55 kB / 1.383 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/1.333, allocations: 157.4 kB / 1.383 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/1.333, allocations: 91.39 kB / 1.383 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.333, allocations: 0 / 1.383 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004726/1.333, allocations: 296.3 kB / 1.383 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.334, allocations: 5.562 kB / 1.383 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.334, allocations: 0 / 1.383 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.334, allocations: 7.953 kB / 1.383 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.334, allocations: 35.92 kB / 1.383 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.334, allocations: 0 / 1.383 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/1.334, allocations: 47.41 kB / 1.383 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/1.334, allocations: 11.88 kB / 1.383 GB, free: 3.594 MB / 0.8386 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.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,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.334, allocations: 117.6 kB / 1.383 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/1.334, allocations: 23.72 kB / 1.383 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/1.335, allocations: 221.9 kB / 1.384 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.335, allocations: 0 / 1.384 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.335, allocations: 0 / 1.384 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.335, allocations: 11.94 kB / 1.384 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/1.335, allocations: 337.3 kB / 1.384 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.335, allocations: 0 / 1.384 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/1.335, allocations: 23.92 kB / 1.384 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.335, allocations: 0 / 1.384 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.335, allocations: 3.625 kB / 1.384 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.335, allocations: 8 kB / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.335, allocations: 3.938 kB / 1.384 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/1.335, allocations: 226.2 kB / 1.384 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/1.336, allocations: 108.2 kB / 1.384 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/1.336, allocations: 10.75 kB / 1.384 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/1.336, allocations: 15.98 kB / 1.384 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/1.336, allocations: 38.94 kB / 1.384 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.336, allocations: 7.984 kB / 1.384 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002386/1.336, allocations: 228.3 kB / 1.385 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/1.336, allocations: 4 kB / 1.385 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003143/1.336, allocations: 74.38 kB / 1.385 GB, free: 2.301 MB / 0.8386 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.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,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001003/1.337, allocations: 401 kB / 1.385 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000369/1.338, allocations: 211 kB / 1.385 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.338, allocations: 3.938 kB / 1.385 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/1.338, allocations: 87.36 kB / 1.385 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.338, allocations: 49.45 kB / 1.385 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/1.339, allocations: 376.2 kB / 1.386 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/1.34, allocations: 0.7864 MB / 1.387 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001616/1.34, allocations: 38.05 kB / 1.387 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/1.34, allocations: 27.42 kB / 1.387 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.34, allocations: 0 / 1.387 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of Templates: time 0.01001/1.35, allocations: 3.397 MB / 1.39 GB, free: 13.25 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_latest_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