Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.0016/0.0016, 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.001972/0.001972, allocations: 203.7 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.225/3.225, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [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.002149/0.002149, allocations: 71.22 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009303/0.3177, allocations: 6.549 MB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.4871, allocations: 133.8 MB / 1.464 GB, free: 4.035 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4885, allocations: 23.81 kB / 1.464 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.4901, allocations: 436.7 kB / 1.465 GB, free: 3.582 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.4926, allocations: 0.7836 MB / 1.465 GB, free: 2.797 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.4951, allocations: 1.151 MB / 1.466 GB, free: 1.652 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.4985, allocations: 2.478 MB / 1.469 GB, free: 15.17 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.4998, allocations: 0.7823 MB / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.5011, allocations: 0.9463 MB / 1.471 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.5023, allocations: 0.9999 MB / 1.472 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.5026, allocations: 268 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5038, allocations: 0.6675 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.5044, allocations: 0.5726 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.5052, allocations: 0.875 MB / 1.474 GB, free: 9.996 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.5089, allocations: 3.235 MB / 1.477 GB, free: 6.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5089, allocations: 4 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5089, allocations: 0 / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.5089, allocations: 4 kB / 1.477 GB, free: 6.742 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004882/0.5138, allocations: 2.297 MB / 1.479 GB, free: 4.402 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5139, allocations: 8.031 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/0.5224, allocations: 1.006 MB / 1.48 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.5248, allocations: 1.081 MB / 1.481 GB, free: 2.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.5249, allocations: 127.2 kB / 1.481 GB, free: 2.145 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/0.5252, allocations: 152 kB / 1.482 GB, free: 1.996 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.5306, allocations: 2.347 MB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.5307, allocations: 0 / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.5309, allocations: 68 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.5309, allocations: 40 kB / 1.484 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006327/0.5372, allocations: 2.401 MB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009882/0.5471, allocations: 4.414 MB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.5516, allocations: 1.615 MB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.5536, allocations: 0.7272 MB / 1.493 GB, free: 6.188 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.5541, allocations: 97.2 kB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.5568, allocations: 1.184 MB / 1.494 GB, free: 4.863 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 3.967e-06/0.5568, allocations: 0 / 1.494 GB, free: 4.863 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.007933/0.5647, allocations: 2.528 MB / 1.497 GB, free: 2.328 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5649, allocations: 218.9 kB / 1.497 GB, free: 2.066 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.5662, allocations: 0.8598 MB / 1.498 GB, free: 1.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.5664, allocations: 53.7 kB / 1.498 GB, free: 1.121 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/0.567, allocations: 0.6732 MB / 1.498 GB, free: 448 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.5675, allocations: 472 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005297/0.568, allocations: 274.8 kB / 1.499 GB, free: 15.69 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5682, allocations: 357.9 kB / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.5702, allocations: 0.6936 MB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.5725, allocations: 0.9787 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.5766, allocations: 1.467 MB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5766, allocations: 0 / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005549/0.5822, allocations: 1.844 MB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5822, allocations: 8 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5822, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.5829, allocations: 92.77 kB / 1.504 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.5848, allocations: 339.5 kB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.5871, allocations: 1.527 MB / 1.506 GB, free: 8.203 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.5889, allocations: 192.8 kB / 1.506 GB, free: 8.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.5891, allocations: 67.88 kB / 1.507 GB, free: 7.949 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000912/0.59, allocations: 404.9 kB / 1.507 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.5903, allocations: 131.1 kB / 1.507 GB, free: 7.414 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/0.5967, allocations: 2.214 MB / 1.509 GB, free: 5.184 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.5967, allocations: 7.969 kB / 1.509 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5967, allocations: 0 / 1.509 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/0.5977, allocations: 358.5 kB / 1.51 GB, free: 4.824 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.5979, allocations: 31.94 kB / 1.51 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5995, allocations: 147.8 kB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.5998, allocations: 125.1 kB / 1.51 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006169/0.6059, allocations: 1.997 MB / 1.512 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007498/0.6134, allocations: 3.007 MB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002092/0.6155, allocations: 0.8027 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001028/0.6166, allocations: 0.6257 MB / 1.516 GB, free: 14.06 MB / 1.217 GB Notification: Performance of Backend: time 4.01e-07/0.6166, allocations: 0 / 1.516 GB, free: 14.06 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006541/0.6231, allocations: 1.834 MB / 1.518 GB, free: 12.48 MB / 1.217 GB Notification: Performance of SimCode: time 0.005368/0.6285, allocations: 3.125 MB / 1.521 GB, free: 9.316 MB / 1.217 GB Notification: Performance of Templates: time 0.0532/0.6817, allocations: 32.95 MB / 1.553 GB, free: 8.703 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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: 9.964750917999481]