Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 211.6 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.46/3.46, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=126789,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=126789,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.69 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4144, allocations: 176.1 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.007602/0.422, allocations: 4.316 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006969/0.4289, allocations: 3.264 MB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4301, allocations: 43.69 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.4308, allocations: 249.8 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.4324, allocations: 0.5245 MB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.4342, allocations: 0.7214 MB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.4364, allocations: 1.654 MB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.437, allocations: 328.5 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.438, allocations: 0.7004 MB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02917/0.4672, allocations: 3.934 MB / 1.342 GB, free: 2.027 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.4677, allocations: 124 kB / 1.343 GB, free: 1.906 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.4684, allocations: 255.9 kB / 1.343 GB, free: 1.656 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.4688, allocations: 314.8 kB / 1.343 GB, free: 1.348 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.4695, allocations: 0.4933 MB / 1.344 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.4718, allocations: 1.645 MB / 1.345 GB, free: 15.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4718, allocations: 0 / 1.345 GB, free: 15.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4718, allocations: 4 kB / 1.345 GB, free: 15.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.4718, allocations: 0 / 1.345 GB, free: 15.2 MB / 1.045 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.003401/0.4752, allocations: 1.822 MB / 1.347 GB, free: 13.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4753, allocations: 8.031 kB / 1.347 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.4756, allocations: 160 kB / 1.347 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.4774, allocations: 0.8162 MB / 1.348 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.4775, allocations: 66 kB / 1.348 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.4777, allocations: 91.97 kB / 1.348 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.4794, allocations: 1.029 MB / 1.349 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4795, allocations: 0 / 1.349 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.4796, allocations: 35.98 kB / 1.349 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.4796, allocations: 16 kB / 1.349 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.481, allocations: 0.5209 MB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.4852, allocations: 1.969 MB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4867, allocations: 0.6514 MB / 1.352 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.4873, allocations: 292.3 kB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.4874, allocations: 16.64 kB / 1.352 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009675/0.4883, allocations: 0.4883 MB / 1.353 GB, free: 6.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=85): time 4.649e-06/0.4884, allocations: 0 / 1.353 GB, free: 6.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=85): time 0.002449/0.4908, allocations: 1.137 MB / 1.354 GB, free: 5.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.491, allocations: 278 kB / 1.354 GB, free: 5.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.4926, allocations: 0.9921 MB / 1.355 GB, free: 4.418 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.4928, allocations: 57.7 kB / 1.355 GB, free: 4.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.4933, allocations: 0.5171 MB / 1.356 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.4935, allocations: 250.1 kB / 1.356 GB, free: 3.586 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.4939, allocations: 210.5 kB / 1.356 GB, free: 3.375 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4941, allocations: 341.9 kB / 1.357 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.4949, allocations: 395.6 kB / 1.357 GB, free: 2.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4962, allocations: 1.018 MB / 1.358 GB, free: 1.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4977, allocations: 0.8565 MB / 1.359 GB, free: 412 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4977, allocations: 3.938 kB / 1.359 GB, free: 408 kB / 1.045 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002734/0.5005, allocations: 1.237 MB / 1.36 GB, free: 15.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.5006, allocations: 122.9 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.5006, allocations: 11.94 kB / 1.36 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.5007, allocations: 8.062 kB / 1.36 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.5013, allocations: 167.7 kB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.5013, allocations: 8 kB / 1.36 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.5021, allocations: 111.4 kB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.5022, allocations: 43.98 kB / 1.36 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001098/0.5033, allocations: 0.571 MB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00129/0.5046, allocations: 1.013 MB / 1.362 GB, free: 12.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.506, allocations: 0.8458 MB / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.164e-06/0.506, allocations: 4 kB / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002442/0.5084, allocations: 1.22 MB / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.5085, allocations: 127.5 kB / 1.364 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5085, allocations: 8 kB / 1.364 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5085, allocations: 19.94 kB / 1.364 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.5091, allocations: 155.7 kB / 1.364 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.5092, allocations: 8 kB / 1.364 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.5101, allocations: 107.5 kB / 1.364 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.5102, allocations: 43.98 kB / 1.365 GB, free: 10.06 MB / 1.061 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,plotConfiguration.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,$PRE.correlation.tActivateLast,correlation.sampleTrigger,timSerRes.active,timSerRes.tActivateLast,$PRE.timSerRes.tActivateLast,timSerRes.sampleTrigger,timSerInp.active,timSerInp.tActivateLast,$PRE.timSerInp.tActivateLast,timSerInp.sampleTrigger,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,$PRE.coolingValveSignal.nextTimeEventScaled,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,$PRE.TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,$PRE.TSupSetpoint_F.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,$PRE.fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,$PRE.fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,$PRE.TSupply_F.nextTimeEventScaled,cooValSta.limPI.trigger,cooValSta.TOutThr.y,$PRE.cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.andOutAirFanFee.y,cooValSta.cha.u,$PRE.cooValSta.cha.u,greThr.y,$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.0004931/0.5107, allocations: 310.2 kB / 1.365 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.511, allocations: 131.1 kB / 1.365 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.5136, allocations: 0.9585 MB / 1.366 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.5136, allocations: 7.969 kB / 1.366 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5136, allocations: 0 / 1.366 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/0.5141, allocations: 191 kB / 1.366 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5143, allocations: 24.05 kB / 1.366 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.5147, allocations: 51.95 kB / 1.366 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.5149, allocations: 80.86 kB / 1.366 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001966/0.5169, allocations: 1.008 MB / 1.367 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002717/0.5196, allocations: 1.479 MB / 1.369 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006409/0.5202, allocations: 337.5 kB / 1.369 GB, free: 5.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001043/0.5213, allocations: 0.6595 MB / 1.37 GB, free: 4.734 MB / 1.061 GB Notification: Performance of Backend: time 2.31e-07/0.5213, allocations: 0 / 1.37 GB, free: 4.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0057/0.527, allocations: 2.179 MB / 1.372 GB, free: 2.676 MB / 1.061 GB Notification: Performance of SimCode: time 0.004144/0.5311, allocations: 2.393 MB / 1.374 GB, free: 228 kB / 1.061 GB Notification: Performance of Templates: time 0.04396/0.5751, allocations: 23.17 MB / 1.397 GB, free: 9.402 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 18.47589552900172]