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.001758/0.001758, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002218/0.002218, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.797 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.37/3.37, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002/0.002, allocations: 77.91 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01056/0.4247, allocations: 6.541 MB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.6141, allocations: 133.8 MB / 1.463 GB, free: 4.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.6157, allocations: 23.81 kB / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.618, allocations: 428.7 kB / 1.463 GB, free: 4.535 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.6213, allocations: 0.7868 MB / 1.464 GB, free: 3.75 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.6245, allocations: 1.16 MB / 1.465 GB, free: 2.594 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.6283, allocations: 2.482 MB / 1.467 GB, free: 108 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.63, allocations: 0.7393 MB / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.6317, allocations: 0.9502 MB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.6333, allocations: 0.8866 MB / 1.47 GB, free: 13.47 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006779/0.634, allocations: 268 kB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.6359, allocations: 0.6558 MB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009162/0.6368, allocations: 0.5725 MB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.6389, allocations: 0.8751 MB / 1.472 GB, free: 11.1 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.644, allocations: 3.238 MB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.644, allocations: 3.984 kB / 1.475 GB, free: 7.844 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.132e-06/0.644, allocations: 0 / 1.475 GB, free: 7.844 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.082e-05/0.6441, allocations: 4 kB / 1.475 GB, free: 7.84 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.006448/0.6506, allocations: 2.293 MB / 1.478 GB, free: 5.504 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.6506, allocations: 8.031 kB / 1.478 GB, free: 5.496 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00831/0.6589, allocations: 1.006 MB / 1.479 GB, free: 4.488 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.6617, allocations: 1.077 MB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.6618, allocations: 123.3 kB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.6623, allocations: 156 kB / 1.48 GB, free: 3.102 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/0.6681, allocations: 2.343 MB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.6682, allocations: 0 / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.6684, allocations: 68 kB / 1.482 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.6685, allocations: 47.98 kB / 1.482 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.6752, allocations: 2.393 MB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.6859, allocations: 4.414 MB / 1.489 GB, free: 9.645 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.6908, allocations: 1.612 MB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/0.693, allocations: 0.724 MB / 1.491 GB, free: 7.301 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.6936, allocations: 97.2 kB / 1.491 GB, free: 7.207 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003026/0.6966, allocations: 1.176 MB / 1.492 GB, free: 5.984 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 4.929e-06/0.6966, allocations: 0 / 1.492 GB, free: 5.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.008649/0.7053, allocations: 2.536 MB / 1.495 GB, free: 3.441 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.7055, allocations: 218.9 kB / 1.495 GB, free: 3.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.7071, allocations: 0.8598 MB / 1.496 GB, free: 2.293 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.7073, allocations: 57.7 kB / 1.496 GB, free: 2.23 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/0.708, allocations: 0.6732 MB / 1.497 GB, free: 1.547 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/0.7086, allocations: 480 kB / 1.497 GB, free: 1.074 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/0.7093, allocations: 270.7 kB / 1.497 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.7095, allocations: 357.9 kB / 1.498 GB, free: 456 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.7118, allocations: 0.6936 MB / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.7143, allocations: 0.9748 MB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.7188, allocations: 1.471 MB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7188, allocations: 0 / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006416/0.7252, allocations: 1.84 MB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.7252, allocations: 8 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.7252, allocations: 0 / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.7259, allocations: 88.89 kB / 1.503 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.7279, allocations: 347.5 kB / 1.503 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.7304, allocations: 1.518 MB / 1.505 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.7323, allocations: 199.2 kB / 1.505 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.7325, allocations: 63.94 kB / 1.505 GB, free: 9.062 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.001143/0.7337, allocations: 400.8 kB / 1.505 GB, free: 8.66 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/0.7342, allocations: 135.1 kB / 1.505 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00679/0.7409, allocations: 2.217 MB / 1.507 GB, free: 6.293 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.741, allocations: 16 kB / 1.507 GB, free: 6.277 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.741, allocations: 0 / 1.507 GB, free: 6.277 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.741, allocations: 11.97 kB / 1.507 GB, free: 6.266 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.7437, allocations: 1.284 MB / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.7437, allocations: 0 / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.7455, allocations: 319.6 kB / 1.509 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/0.746, allocations: 72.78 kB / 1.509 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.7462, allocations: 43.95 kB / 1.509 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.7487, allocations: 1.54 MB / 1.511 GB, free: 2.879 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7487, allocations: 4.062 kB / 1.511 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/0.7548, allocations: 1.918 MB / 1.513 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.7558, allocations: 358.5 kB / 1.513 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.7562, allocations: 35.95 kB / 1.513 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.7579, allocations: 149.8 kB / 1.513 GB, free: 416 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.7582, allocations: 121.1 kB / 1.513 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.7584, allocations: 64.02 kB / 1.513 GB, free: 228 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001305/0.7597, allocations: 0.618 MB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7597, allocations: 4 kB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001768/0.7614, allocations: 0.5414 MB / 1.514 GB, free: 15.05 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002562/0.764, allocations: 0.6802 MB / 1.515 GB, free: 14.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005646/0.7697, allocations: 1.755 MB / 1.517 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7697, allocations: 0 / 1.517 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.7726, allocations: 0.9899 MB / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.7746, allocations: 380.3 kB / 1.518 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.7825, allocations: 3.101 MB / 1.521 GB, free: 8.309 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.7838, allocations: 0.7025 MB / 1.522 GB, free: 7.57 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002057/0.7859, allocations: 393.8 kB / 1.522 GB, free: 7.184 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.7866, allocations: 167.3 kB / 1.522 GB, free: 7.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/0.7866, allocations: 0 / 1.522 GB, free: 7.02 MB / 1.217 GB Notification: Performance of Templates: time 0.05035/0.837, allocations: 26.6 MB / 1.548 GB, free: 12.74 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/jenkins/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: 11.002287413924932]