Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001611/0.001612, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.002145/0.002146, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.515/1.515, 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.674/2.674, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 67.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.007506/1.049, allocations: 4.753 MB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006752/1.055, allocations: 3.192 MB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/1.057, allocations: 31.81 kB / 1.216 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/1.058, allocations: 245.9 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/1.059, allocations: 449.2 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/1.062, allocations: 0.8914 MB / 1.218 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00258/1.065, allocations: 1.599 MB / 1.219 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.066, allocations: 483.8 kB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/1.067, allocations: 0.6653 MB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/1.088, allocations: 3.864 MB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006074/1.089, allocations: 116 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/1.089, allocations: 207.9 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/1.09, allocations: 298.9 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.091, allocations: 0.6021 MB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/1.094, allocations: 1.535 MB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.094, allocations: 3.938 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.515e-06/1.094, allocations: 3.938 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.68e-05/1.094, allocations: 0 / 1.227 GB, free: 11.62 MB / 0.9512 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.004422/1.098, allocations: 1.73 MB / 1.229 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.098, allocations: 8.031 kB / 1.229 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/1.099, allocations: 147.2 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/1.101, allocations: 0.8826 MB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/1.101, allocations: 69.98 kB / 1.23 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/1.101, allocations: 84 kB / 1.23 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/1.103, allocations: 0.787 MB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.103, allocations: 4 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/1.103, allocations: 31.98 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/1.103, allocations: 20 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.104, allocations: 499.7 kB / 1.231 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/1.108, allocations: 2.259 MB / 1.233 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.11, allocations: 0.7431 MB / 1.234 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/1.11, allocations: 281.9 kB / 1.234 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/1.11, allocations: 16.66 kB / 1.234 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008687/1.111, allocations: 470.2 kB / 1.235 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 2.765e-06/1.111, allocations: 0 / 1.235 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.002421/1.114, allocations: 1.016 MB / 1.236 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/1.114, allocations: 278 kB / 1.236 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.116, allocations: 0.8791 MB / 1.237 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.116, allocations: 57.7 kB / 1.237 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/1.116, allocations: 488.5 kB / 1.237 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/1.116, allocations: 248.7 kB / 1.238 GB, free: 284 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/1.117, allocations: 206.6 kB / 1.238 GB, free: 72 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.117, allocations: 345.9 kB / 1.238 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.118, allocations: 268.7 kB / 1.238 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/1.119, allocations: 0.5641 MB / 1.239 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.121, allocations: 0.8342 MB / 1.24 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/1.121, allocations: 4 kB / 1.24 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002813/1.124, allocations: 1.097 MB / 1.241 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.124, allocations: 118.8 kB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.124, allocations: 11.98 kB / 1.241 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/1.124, allocations: 8 kB / 1.241 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/1.124, allocations: 168.1 kB / 1.241 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-05/1.124, allocations: 15.94 kB / 1.241 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/1.125, allocations: 103.2 kB / 1.241 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.126, allocations: 47.98 kB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001139/1.127, allocations: 458 kB / 1.242 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009055/1.128, allocations: 0.5636 MB / 1.242 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/1.129, allocations: 0.8399 MB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.348e-06/1.129, allocations: 4 kB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002186/1.131, allocations: 1.074 MB / 1.244 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/1.131, allocations: 130.7 kB / 1.244 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.131, allocations: 4 kB / 1.244 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.131, allocations: 12 kB / 1.244 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/1.132, allocations: 156.2 kB / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/1.132, allocations: 19.94 kB / 1.244 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/1.133, allocations: 103.2 kB / 1.244 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/1.133, allocations: 51.97 kB / 1.245 GB, free: 8.523 MB / 0.9669 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.0004453/1.133, allocations: 297.8 kB / 1.245 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/1.134, allocations: 122.5 kB / 1.245 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/1.135, allocations: 0.851 MB / 1.246 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.135, allocations: 3.984 kB / 1.246 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.135, allocations: 0 / 1.246 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/1.136, allocations: 247.6 kB / 1.246 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.136, allocations: 23.98 kB / 1.246 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/1.136, allocations: 47.95 kB / 1.246 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/1.137, allocations: 68.91 kB / 1.246 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002097/1.139, allocations: 0.9361 MB / 1.247 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002229/1.141, allocations: 1.339 MB / 1.248 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005851/1.142, allocations: 323.8 kB / 1.249 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008524/1.142, allocations: 0.5877 MB / 1.249 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of Backend: time 5.41e-07/1.142, allocations: 4 kB / 1.249 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004032/1.147, allocations: 1.911 MB / 1.251 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003668/1.15, allocations: 2.262 MB / 1.253 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.03718/1.187, allocations: 19.65 MB / 1.273 GB, free: 12.01 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches