Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seqEveHea.u1Hea|seqEveHea.u1PumHeaWatPri_actual|seqEveHea.u1PumHeaWatSec_actual|seqEveHea.y1|seqEveHea.y1ValHeaWatInlIso|seqEveHea.y1PumHeaWatPri|seqEveHeaCoo.u1Hea|seqEveHeaCoo.u1Coo|seqEveHeaCoo.u1PumHeaWatPri_actual|seqEveHeaCoo.y1|seqEveHeaCoo.y1ValHeaWatInlIso|seqEveHeaCoo.y1ValHeaWatOutIso|seqEveHeaCoo.y1ValChiWatInlIso|seqEveHeaCoo.y1ValChiWatOutIso|seqEveHeaCoo.y1PumHeaWatPri",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seqEveHea.u1Hea|seqEveHea.u1PumHeaWatPri_actual|seqEveHea.u1PumHeaWatSec_actual|seqEveHea.y1|seqEveHea.y1ValHeaWatInlIso|seqEveHea.y1PumHeaWatPri|seqEveHeaCoo.u1Hea|seqEveHeaCoo.u1Coo|seqEveHeaCoo.u1PumHeaWatPri_actual|seqEveHeaCoo.y1|seqEveHeaCoo.y1ValHeaWatInlIso|seqEveHeaCoo.y1ValHeaWatOutIso|seqEveHeaCoo.y1ValChiWatInlIso|seqEveHeaCoo.y1ValChiWatOutIso|seqEveHeaCoo.y1PumHeaWatPri",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001787/0.001787, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.39/1.39, 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 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7022, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/StagingRotation/EventSequencing.mo:19:3-23:32:writable] Warning: Parameter seqEveHea.have_pumChiWatPri has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/StagingRotation/EventSequencing.mo:28:3-31:32:writable] Warning: Parameter seqEveHea.have_pumChiWatSec has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing): time 0.003577/0.7058, allocations: 2.348 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.7083, allocations: 1.997 MB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.7086, allocations: 31.81 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.7093, allocations: 333.9 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.7095, allocations: 119.1 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.7105, allocations: 474.8 kB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.7117, allocations: 1.411 MB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.7124, allocations: 0.5462 MB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.7129, allocations: 478.7 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.7133, allocations: 450.2 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.7135, allocations: 108 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.7138, allocations: 147.9 kB / 1.217 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.7142, allocations: 427 kB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.7146, allocations: 0.5013 MB / 1.218 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.7157, allocations: 1.493 MB / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7158, allocations: 0 / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7158, allocations: 4 kB / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.7158, allocations: 0 / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001939/0.7177, allocations: 1.304 MB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.7178, allocations: 8.031 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.718, allocations: 119.6 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.7191, allocations: 0.8248 MB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.7192, allocations: 74.36 kB / 1.221 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.7194, allocations: 92.36 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.7206, allocations: 0.7536 MB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.7206, allocations: 192 / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.7207, allocations: 35.92 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.7207, allocations: 16 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.7216, allocations: 0.5622 MB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.7251, allocations: 2.311 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7262, allocations: 0.7453 MB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.7266, allocations: 288.7 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.7266, allocations: 7.984 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007381/0.7273, allocations: 0.5293 MB / 1.226 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=65): time 2.805e-06/0.7273, allocations: 0 / 1.226 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=65): time 0.001596/0.7289, allocations: 1.057 MB / 1.227 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.729, allocations: 71.95 kB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.7298, allocations: 0.726 MB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.7299, allocations: 53.7 kB / 1.228 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.7302, allocations: 396.7 kB / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.7303, allocations: 146.1 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.7306, allocations: 254.5 kB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7308, allocations: 390.7 kB / 1.229 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.7311, allocations: 205.9 kB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.7318, allocations: 0.6808 MB / 1.23 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.7324, allocations: 477.3 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7324, allocations: 0 / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009449/0.7333, allocations: 0.6578 MB / 1.231 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7334, allocations: 11.94 kB / 1.231 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7334, allocations: 4.656 kB / 1.231 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7334, allocations: 8 kB / 1.231 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.7337, allocations: 75.78 kB / 1.231 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.7337, allocations: 8 kB / 1.232 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.7347, allocations: 119.4 kB / 1.232 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.7348, allocations: 35.94 kB / 1.232 GB, free: 5.289 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 80 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol1.firstTrigger,$PRE.zerOrdHol1.firstTrigger,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,zerOrdHol1.sampleTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$whenCondition11,greThr1.y,zerOrdHol1.ySample,$PRE.zerOrdHol1.ySample,seqEveHeaCoo.latPumHeaWatPri.y,seqEveHeaCoo.latValChiWatIso.y,seqEveHeaCoo.latValHeaWatIso.y,seqEveHeaCoo.timHp.entryTime,$PRE.seqEveHeaCoo.timHp.entryTime,seqEveHeaCoo.timHp.passed,$PRE.seqEveHeaCoo.timHp.passed,seqEveHeaCoo.off.y,seqEveHeaCoo.rou1.y[1],seqEveHeaCoo.y1AndCoo,seqEveHeaCoo.y1AndHea,seqEveHeaCoo.cooValPum.y,seqEveHeaCoo.heaValPum.y,seqEveHeaCoo.timVal.entryTime,$PRE.seqEveHeaCoo.timVal.entryTime,seqEveHeaCoo.timVal.passed,$PRE.seqEveHeaCoo.timVal.passed,seqEveHeaCoo.y1,greThr.y,zerOrdHol.ySample,$PRE.zerOrdHol.ySample,u1.intTimTab.idx,$PRE.u1.intTimTab.idx,u1.intTimTab.y[2],$PRE.u1.intTimTab.y[2],u1.intTimTab.y[1],$PRE.u1.intTimTab.y[1],u1.y[2],u1.y[1],seqEveHea.latPumHeaWatPri.y,seqEveHea.latValHeaWatIso.y,seqEveHea.timHp.entryTime,$PRE.seqEveHea.timHp.entryTime,seqEveHea.timHp.passed,$PRE.seqEveHea.timHp.passed,seqEveHea.y1AndHea,seqEveHea.heaValPum.uTemp[2],seqEveHea.timVal.entryTime,$PRE.seqEveHea.timVal.entryTime,seqEveHea.timVal.passed,$PRE.seqEveHea.timVal.passed,seqEveHea.y1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition10,$whenCondition9,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,seqEveHeaCoo.u1PumChiWatPri_internal.ph.y,seqEveHeaCoo.u1PumHeaWatSec_internal.ph.y,seqEveHeaCoo.u1PumChiWatSec_internal.ph.y,seqEveHea.u1Coo_internal.ph.y,seqEveHea.u1PumChiWatPri_internal.ph.y,seqEveHea.u1PumChiWatSec_internal.ph.y,seqEveHea.cooValPum.y,seqEveHea.enaAndCoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004091/0.7352, allocations: 325.5 kB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7353, allocations: 75.06 kB / 1.232 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.7354, allocations: 78.72 kB / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7354, allocations: 3.984 kB / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7355, allocations: 0 / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.7356, allocations: 148.2 kB / 1.232 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.7357, allocations: 27.92 kB / 1.232 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.7359, allocations: 43.94 kB / 1.232 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.7361, allocations: 76.41 kB / 1.232 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001194/0.7373, allocations: 0.8736 MB / 1.233 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.7384, allocations: 0.9901 MB / 1.234 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004456/0.7389, allocations: 384.3 kB / 1.235 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005172/0.7394, allocations: 467 kB / 1.235 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/0.7394, allocations: 0 / 1.235 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.7405, allocations: 474.1 kB / 1.235 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001881/0.7424, allocations: 1.682 MB / 1.237 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.01643/0.7588, allocations: 9.586 MB / 1.246 GB, free: 6.055 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_Validation_EventSequencing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches