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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001554/0.001554, allocations: 111.7 kB / 16.41 MB, free: 6.465 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.001637/0.001637, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.91 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.007362/1.042, allocations: 4.74 MB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006123/1.048, allocations: 3.195 MB / 1.234 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/1.049, allocations: 35.75 kB / 1.234 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007488/1.05, allocations: 249.8 kB / 1.234 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/1.051, allocations: 461.2 kB / 1.235 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/1.053, allocations: 0.8927 MB / 1.236 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001896/1.055, allocations: 1.588 MB / 1.237 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/1.056, allocations: 483.8 kB / 1.238 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/1.057, allocations: 0.6769 MB / 1.238 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02226/1.079, allocations: 3.872 MB / 1.242 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005772/1.08, allocations: 120 kB / 1.242 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006836/1.081, allocations: 200 kB / 1.242 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/1.081, allocations: 298.8 kB / 1.243 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/1.082, allocations: 0.5982 MB / 1.243 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/1.084, allocations: 1.553 MB / 1.245 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.085, allocations: 0 / 1.245 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.246e-06/1.085, allocations: 0 / 1.245 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.301e-05/1.085, allocations: 3.938 kB / 1.245 GB, free: 11.46 MB / 0.9669 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.003674/1.088, allocations: 1.767 MB / 1.247 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.088, allocations: 12.03 kB / 1.247 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/1.089, allocations: 156 kB / 1.247 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.091, allocations: 0.8875 MB / 1.248 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/1.091, allocations: 69.98 kB / 1.248 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.091, allocations: 87.98 kB / 1.248 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.093, allocations: 0.787 MB / 1.248 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.093, allocations: 7.938 kB / 1.248 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/1.093, allocations: 31.98 kB / 1.249 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.093, allocations: 16 kB / 1.249 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/1.094, allocations: 491.7 kB / 1.249 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/1.098, allocations: 2.276 MB / 1.251 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1.1, allocations: 0.7335 MB / 1.252 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/1.101, allocations: 286.6 kB / 1.252 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/1.101, allocations: 12.64 kB / 1.252 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008718/1.102, allocations: 474.3 kB / 1.253 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/1.102, allocations: 0 / 1.253 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.002287/1.104, allocations: 1.021 MB / 1.254 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.104, allocations: 286 kB / 1.254 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.105, allocations: 0.887 MB / 1.255 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.106, allocations: 57.7 kB / 1.255 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/1.106, allocations: 493.2 kB / 1.255 GB, free: 284 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/1.106, allocations: 254 kB / 1.256 GB, free: 28 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/1.107, allocations: 206.6 kB / 1.256 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.107, allocations: 341.9 kB / 1.256 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/1.108, allocations: 280.7 kB / 1.256 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/1.108, allocations: 0.5602 MB / 1.257 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.11, allocations: 0.83 MB / 1.258 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.11, allocations: 4 kB / 1.258 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002178/1.112, allocations: 1.093 MB / 1.259 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.112, allocations: 126.8 kB / 1.259 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.112, allocations: 15.88 kB / 1.259 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.112, allocations: 12 kB / 1.259 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/1.113, allocations: 159.7 kB / 1.259 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/1.113, allocations: 15.98 kB / 1.259 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/1.114, allocations: 115.6 kB / 1.259 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/1.114, allocations: 43.98 kB / 1.259 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009174/1.115, allocations: 458 kB / 1.26 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008953/1.116, allocations: 0.5563 MB / 1.26 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/1.117, allocations: 0.8281 MB / 1.261 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/1.117, allocations: 0 / 1.261 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002134/1.119, allocations: 1.09 MB / 1.262 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/1.119, allocations: 126.7 kB / 1.262 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.119, allocations: 8 kB / 1.262 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.119, allocations: 8 kB / 1.262 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.12, allocations: 155.8 kB / 1.262 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.12, allocations: 15.94 kB / 1.262 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/1.12, allocations: 119.8 kB / 1.263 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/1.121, allocations: 43.98 kB / 1.263 GB, free: 8.262 MB / 0.9825 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.0004035/1.121, allocations: 310.2 kB / 1.263 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/1.121, allocations: 127.1 kB / 1.263 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.123, allocations: 0.8433 MB / 1.264 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.123, allocations: 3.984 kB / 1.264 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.123, allocations: 0 / 1.264 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/1.123, allocations: 256.1 kB / 1.264 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.124, allocations: 20 kB / 1.264 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/1.124, allocations: 39.95 kB / 1.264 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.124, allocations: 84.89 kB / 1.264 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002159/1.126, allocations: 0.9361 MB / 1.265 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002713/1.129, allocations: 1.343 MB / 1.266 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000637/1.13, allocations: 323.8 kB / 1.267 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001023/1.131, allocations: 0.5954 MB / 1.267 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of Backend: time 5.11e-07/1.131, allocations: 0 / 1.267 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004829/1.136, allocations: 1.905 MB / 1.269 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004256/1.14, allocations: 2.327 MB / 1.271 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.0387/1.179, allocations: 19.14 MB / 1.29 GB, free: 12.17 MB / 1.014 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