Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108.2 kB / 16.42 MB, free: 5.953 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.001946/0.001946, allocations: 192.7 kB / 17.35 MB, free: 5.574 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.535/1.535, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.08 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9647/0.9662, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.007422/0.9737, allocations: 4.745 MB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007362/0.9811, allocations: 3.212 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.9823, allocations: 27.88 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008989/0.9833, allocations: 253.8 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.9846, allocations: 457.2 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.9874, allocations: 0.8928 MB / 1.177 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.9896, allocations: 1.588 MB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.9904, allocations: 483.8 kB / 1.179 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.9916, allocations: 0.6653 MB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02174/1.013, allocations: 3.892 MB / 1.183 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006227/1.014, allocations: 124 kB / 1.183 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007907/1.015, allocations: 200 kB / 1.183 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/1.015, allocations: 294.8 kB / 1.184 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/1.016, allocations: 0.5943 MB / 1.184 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/1.019, allocations: 1.553 MB / 1.186 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.019, allocations: 3.984 kB / 1.186 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.856e-06/1.019, allocations: 0 / 1.186 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.351e-05/1.019, allocations: 3.938 kB / 1.186 GB, free: 1.746 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003343/1.022, allocations: 1.767 MB / 1.188 GB, free: 15.89 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.022, allocations: 12.92 kB / 1.188 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/1.023, allocations: 155.9 kB / 1.188 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.024, allocations: 0.8837 MB / 1.189 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/1.024, allocations: 62 kB / 1.189 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.024, allocations: 91.98 kB / 1.189 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.026, allocations: 0.787 MB / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.026, allocations: 0 / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/1.026, allocations: 32 kB / 1.189 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.026, allocations: 19.98 kB / 1.19 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009501/1.027, allocations: 0.4958 MB / 1.19 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/1.03, allocations: 2.26 MB / 1.192 GB, free: 10.94 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.032, allocations: 0.737 MB / 1.193 GB, free: 10.17 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/1.032, allocations: 280.9 kB / 1.193 GB, free: 9.895 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/1.032, allocations: 20.62 kB / 1.193 GB, free: 9.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00085/1.033, allocations: 458.3 kB / 1.194 GB, free: 9.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/1.033, allocations: 3.938 kB / 1.194 GB, free: 9.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.002264/1.035, allocations: 1.025 MB / 1.195 GB, free: 8.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.036, allocations: 278 kB / 1.195 GB, free: 8.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.037, allocations: 0.887 MB / 1.196 GB, free: 7.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.515e-05/1.037, allocations: 65.62 kB / 1.196 GB, free: 7.059 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.037, allocations: 497.2 kB / 1.196 GB, free: 6.566 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/1.037, allocations: 246.1 kB / 1.197 GB, free: 6.324 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/1.038, allocations: 214.5 kB / 1.197 GB, free: 6.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.038, allocations: 341.9 kB / 1.197 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/1.038, allocations: 272.7 kB / 1.197 GB, free: 5.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.04, allocations: 0.568 MB / 1.198 GB, free: 4.805 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.041, allocations: 0.8403 MB / 1.199 GB, free: 3.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.041, allocations: 0 / 1.199 GB, free: 3.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001957/1.043, allocations: 1.09 MB / 1.2 GB, free: 2.738 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.043, allocations: 130.8 kB / 1.2 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.043, allocations: 4 kB / 1.2 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.043, allocations: 12 kB / 1.2 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/1.044, allocations: 156.2 kB / 1.2 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/1.044, allocations: 19.98 kB / 1.2 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/1.044, allocations: 111.4 kB / 1.2 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/1.044, allocations: 36 kB / 1.2 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008262/1.045, allocations: 465.9 kB / 1.201 GB, free: 1.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008473/1.046, allocations: 0.5628 MB / 1.201 GB, free: 1.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001192/1.047, allocations: 0.832 MB / 1.202 GB, free: 172 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.501e-06/1.047, allocations: 0 / 1.202 GB, free: 172 kB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.001941/1.049, allocations: 1.082 MB / 1.203 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/1.049, allocations: 126.7 kB / 1.203 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.049, allocations: 8 kB / 1.203 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.049, allocations: 8 kB / 1.203 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/1.05, allocations: 164.2 kB / 1.203 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.05, allocations: 15.94 kB / 1.203 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/1.051, allocations: 107.5 kB / 1.203 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/1.051, allocations: 40 kB / 1.204 GB, free: 14.57 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 69 (timSerRes.timeConverted,$PRE.timSerRes.timeConverted,timSerInp.timeConverted,$PRE.timSerInp.timeConverted,csvWriter.str,$PRE.csvWriter.str,$PRE.TOut_F.nextTimeEvent,$whenCondition10,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition9,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition8,$PRE.fanFeedback.nextTimeEvent,$whenCondition7,$PRE.fanStatus.nextTimeEvent,$whenCondition6,$PRE.TSupply_F.nextTimeEvent,$whenCondition5,timSerInp.sampleTrigger,timSerInp.tActivateLast,$PRE.timSerInp.tActivateLast,timSerInp.active,timSerRes.sampleTrigger,timSerRes.tActivateLast,$PRE.timSerRes.tActivateLast,timSerRes.active,correlation.sampleTrigger,correlation.tActivateLast,$PRE.correlation.tActivateLast,correlation.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,coolingValveSignal.nextTimeEventScaled,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,greThr.y,cooValSta.cha.u,$PRE.cooValSta.cha.u,cooValSta.andOutAirFanFee.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.TOutThr.y,cooValSta.limPI.trigger,TSupply_F.nextTimeEventScaled,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEvent,fanStatus.nextTimeEventScaled,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEvent,fanFeedback.nextTimeEventScaled,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TOut_F.nextTimeEventScaled,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEvent,$whenCondition11,csvWriter.sampleTrigger,$whenCondition1,plotConfiguration.activate_internal,cooValSta.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 4 * 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.0003475/1.051, allocations: 317.8 kB / 1.204 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/1.051, allocations: 123.2 kB / 1.204 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.053, allocations: 0.8432 MB / 1.205 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.053, allocations: 7.984 kB / 1.205 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.053, allocations: 3.984 kB / 1.205 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/1.053, allocations: 248.1 kB / 1.205 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.053, allocations: 20 kB / 1.205 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/1.054, allocations: 47.95 kB / 1.205 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.054, allocations: 80.89 kB / 1.205 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001913/1.056, allocations: 0.9322 MB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002228/1.058, allocations: 1.339 MB / 1.207 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005602/1.059, allocations: 323.8 kB / 1.208 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000826/1.06, allocations: 0.5993 MB / 1.208 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.06, allocations: 0 / 1.208 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003908/1.064, allocations: 1.908 MB / 1.21 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003532/1.067, allocations: 2.315 MB / 1.212 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.0373/1.104, allocations: 19.13 MB / 1.231 GB, free: 2.402 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches