Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.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.001438/0.001438, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001603/0.001603, allocations: 209.2 kB / 23 MB, free: 4.934 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.337/3.337, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.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.002072/0.002072, allocations: 65.5 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4337, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.007716/0.4414, allocations: 5.105 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.4463, allocations: 2.045 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4477, allocations: 79.5 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.4483, allocations: 245.2 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.4493, allocations: 317.2 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.4511, allocations: 0.7754 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002571/0.4537, allocations: 2.072 MB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.4549, allocations: 0.7132 MB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.4562, allocations: 0.8638 MB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.4571, allocations: 0.75 MB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.4573, allocations: 220 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.4577, allocations: 227.9 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.4581, allocations: 430.5 kB / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.4588, allocations: 0.6723 MB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.4617, allocations: 2.583 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4617, allocations: 4 kB / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.066e-06/0.4617, allocations: 0 / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.284e-05/0.4618, allocations: 0 / 1.344 GB, free: 15.78 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: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.004727/0.4665, allocations: 2.506 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4666, allocations: 12.03 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.4669, allocations: 219.6 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.4696, allocations: 1.129 MB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.4697, allocations: 115.2 kB / 1.348 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.4699, allocations: 152.4 kB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.4728, allocations: 1.546 MB / 1.349 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.4728, allocations: 3.938 kB / 1.349 GB, free: 9.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.4729, allocations: 60 kB / 1.349 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.473, allocations: 40 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.475, allocations: 0.9448 MB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0073/0.4823, allocations: 3.909 MB / 1.354 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.4838, allocations: 0.63 MB / 1.355 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/0.4845, allocations: 308.2 kB / 1.355 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.4845, allocations: 19.94 kB / 1.355 GB, free: 3.812 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009079/0.4854, allocations: 431.7 kB / 1.355 GB, free: 3.367 MB / 1.045 GB Notification: Performance of pre-optimization done (n=80): time 3.346e-06/0.4854, allocations: 0 / 1.355 GB, free: 3.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=80): time 0.002/0.4874, allocations: 0.8463 MB / 1.356 GB, free: 2.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4875, allocations: 140.5 kB / 1.356 GB, free: 2.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4889, allocations: 0.9934 MB / 1.357 GB, free: 1.344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.489, allocations: 57.7 kB / 1.357 GB, free: 1.281 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007703/0.4898, allocations: 0.8048 MB / 1.358 GB, free: 480 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.49, allocations: 269.8 kB / 1.359 GB, free: 208 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.4904, allocations: 250.8 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.4907, allocations: 357.9 kB / 1.359 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.4914, allocations: 359.7 kB / 1.359 GB, free: 15.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4927, allocations: 1.063 MB / 1.36 GB, free: 13.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.4946, allocations: 0.9431 MB / 1.361 GB, free: 12.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4946, allocations: 7.938 kB / 1.361 GB, free: 12.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002409/0.497, allocations: 1.211 MB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.4971, allocations: 41.64 kB / 1.363 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.4971, allocations: 12 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/0.4971, allocations: 16 kB / 1.363 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.4979, allocations: 216.2 kB / 1.363 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.671e-05/0.498, allocations: 23.92 kB / 1.363 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/0.4989, allocations: 155.1 kB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.499, allocations: 52 kB / 1.363 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001167/0.5001, allocations: 0.5726 MB / 1.364 GB, free: 10.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.5013, allocations: 1.043 MB / 1.365 GB, free: 9.191 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/0.5026, allocations: 0.9061 MB / 1.366 GB, free: 8.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/0.5027, allocations: 0 / 1.366 GB, free: 8.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.002047/0.5047, allocations: 1.172 MB / 1.367 GB, free: 6.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.5047, allocations: 41.69 kB / 1.367 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5048, allocations: 8 kB / 1.367 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5048, allocations: 16 kB / 1.367 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.5055, allocations: 204.2 kB / 1.367 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.5055, allocations: 27.92 kB / 1.367 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.5062, allocations: 127.4 kB / 1.367 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.5063, allocations: 59.92 kB / 1.367 GB, free: 6.465 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition4,$whenCondition5,uSupFan.y,$PRE.uSupFan.y,cooVal.cha.u,$PRE.cooVal.cha.u,cooVal.andOutAirFanFee.y,cooVal.uFanFeeThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.TOutThr.y,$PRE.cooVal.TOutThr.y,cooVal.limPI.trigger,$whenCondition6,uSupFan3.y,cooVal3.cha.u,$PRE.cooVal3.cha.u,cooVal3.uFanFeeThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.TOutThr.y,cooVal3.limPI.trigger,$whenCondition3,uSupFan2.y,cooVal2.cha.u,$PRE.cooVal2.cha.u,cooVal2.uFanFeeThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.TOutThr.y,cooVal2.limPI.trigger,$whenCondition2,uSupFan1.y,cooVal1.cha.u,$PRE.cooVal1.cha.u,cooVal1.uFanFeeThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.TOutThr.y,cooVal1.limPI.trigger,$whenCondition1,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * 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.0004277/0.5068, allocations: 280.4 kB / 1.367 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.507, allocations: 123.2 kB / 1.368 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.5086, allocations: 0.7175 MB / 1.368 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5086, allocations: 3.984 kB / 1.368 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5086, allocations: 0 / 1.368 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.5088, allocations: 127 kB / 1.368 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.509, allocations: 24 kB / 1.368 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.5094, allocations: 27.97 kB / 1.368 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.5095, allocations: 71.88 kB / 1.368 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001766/0.5113, allocations: 0.9534 MB / 1.369 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002148/0.5135, allocations: 1.378 MB / 1.371 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005538/0.514, allocations: 263.7 kB / 1.371 GB, free: 2.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009089/0.5149, allocations: 0.6184 MB / 1.372 GB, free: 1.859 MB / 1.061 GB Notification: Performance of Backend: time 8.31e-07/0.5149, allocations: 0 / 1.372 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.518, allocations: 1.286 MB / 1.373 GB, free: 0.543 MB / 1.061 GB Notification: Performance of SimCode: time 0.004486/0.5225, allocations: 2.713 MB / 1.376 GB, free: 13.77 MB / 1.076 GB Notification: Performance of Templates: time 0.03671/0.5592, allocations: 19.17 MB / 1.394 GB, free: 10.91 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.140702836994024]