Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 193.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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_11_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_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 72.33 kB / 1.109 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 168.7 MB / 1.274 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01041/0.3271, allocations: 7.445 MB / 1.281 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.5157, allocations: 152.3 MB / 1.43 GB, free: 10.86 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.5172, allocations: 19.94 kB / 1.43 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009993/0.5182, allocations: 321 kB / 1.43 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.5209, allocations: 0.8143 MB / 1.431 GB, free: 9.703 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.5235, allocations: 1.157 MB / 1.432 GB, free: 8.551 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.5267, allocations: 2.353 MB / 1.435 GB, free: 6.191 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.528, allocations: 0.7659 MB / 1.435 GB, free: 5.375 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.5294, allocations: 0.9112 MB / 1.436 GB, free: 4.461 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.5308, allocations: 0.9804 MB / 1.437 GB, free: 3.477 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.5312, allocations: 268 kB / 1.437 GB, free: 3.215 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.5324, allocations: 0.6363 MB / 1.438 GB, free: 2.578 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.533, allocations: 0.5492 MB / 1.439 GB, free: 2.027 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.534, allocations: 1.062 MB / 1.44 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004021/0.5381, allocations: 3.122 MB / 1.443 GB, free: 13.83 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5381, allocations: 0 / 1.443 GB, free: 13.83 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5381, allocations: 0 / 1.443 GB, free: 13.83 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.801e-05/0.5381, allocations: 0 / 1.443 GB, free: 13.83 MB / 1.154 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.005236/0.5434, allocations: 2.299 MB / 1.445 GB, free: 11.47 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5434, allocations: 8.031 kB / 1.445 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.5499, allocations: 0.8736 MB / 1.446 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.5521, allocations: 1.118 MB / 1.447 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5523, allocations: 123.3 kB / 1.447 GB, free: 9.301 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.5525, allocations: 156 kB / 1.447 GB, free: 9.148 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/0.5575, allocations: 2.055 MB / 1.449 GB, free: 7.043 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.5575, allocations: 0 / 1.449 GB, free: 7.043 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.5577, allocations: 68 kB / 1.449 GB, free: 6.977 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.5578, allocations: 40 kB / 1.449 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00656/0.5643, allocations: 2.44 MB / 1.452 GB, free: 4.492 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.5755, allocations: 5.65 MB / 1.457 GB, free: 14.67 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004709/0.5802, allocations: 1.618 MB / 1.459 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.5823, allocations: 0.7386 MB / 1.46 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.5831, allocations: 491.1 kB / 1.46 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002763/0.5858, allocations: 1.075 MB / 1.461 GB, free: 10.64 MB / 1.17 GB Notification: Performance of pre-optimization done (n=139): time 2.785e-06/0.5858, allocations: 0 / 1.461 GB, free: 10.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=139): time 0.008282/0.5941, allocations: 2.607 MB / 1.464 GB, free: 8.004 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.5943, allocations: 201.2 kB / 1.464 GB, free: 7.766 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5956, allocations: 0.8821 MB / 1.465 GB, free: 6.859 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.5958, allocations: 53.7 kB / 1.465 GB, free: 6.801 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.5965, allocations: 0.6343 MB / 1.465 GB, free: 6.156 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.597, allocations: 479.9 kB / 1.466 GB, free: 5.684 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005221/0.5975, allocations: 266.8 kB / 1.466 GB, free: 5.414 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5977, allocations: 353.9 kB / 1.466 GB, free: 5.062 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.5998, allocations: 0.6936 MB / 1.467 GB, free: 4.367 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.6021, allocations: 0.8319 MB / 1.468 GB, free: 3.512 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.6066, allocations: 1.463 MB / 1.469 GB, free: 2.035 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6066, allocations: 0 / 1.469 GB, free: 2.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005957/0.6126, allocations: 1.836 MB / 1.471 GB, free: 192 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.6126, allocations: 8 kB / 1.471 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6126, allocations: 0 / 1.471 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.6133, allocations: 92.77 kB / 1.471 GB, free: 88 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.6153, allocations: 343.5 kB / 1.471 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.6178, allocations: 1.646 MB / 1.473 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.6198, allocations: 211.1 kB / 1.473 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.62, allocations: 63.94 kB / 1.473 GB, free: 13.69 MB / 1.186 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.0009037/0.6209, allocations: 392 kB / 1.474 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.6213, allocations: 131.2 kB / 1.474 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/0.6287, allocations: 2.214 MB / 1.476 GB, free: 10.94 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.6287, allocations: 16 kB / 1.476 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6287, allocations: 3.938 kB / 1.476 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6287, allocations: 7.969 kB / 1.476 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.6315, allocations: 1.78 MB / 1.478 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.6315, allocations: 0 / 1.478 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.6334, allocations: 315.6 kB / 1.478 GB, free: 8.773 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.6339, allocations: 76.72 kB / 1.478 GB, free: 8.695 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.634, allocations: 47.95 kB / 1.478 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.6363, allocations: 1.685 MB / 1.48 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6363, allocations: 3.938 kB / 1.48 GB, free: 6.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005851/0.6421, allocations: 1.926 MB / 1.482 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000859/0.643, allocations: 435.7 kB / 1.482 GB, free: 4.418 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.6433, allocations: 39.89 kB / 1.482 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.6449, allocations: 142 kB / 1.482 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.6451, allocations: 117.1 kB / 1.482 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.6453, allocations: 59.95 kB / 1.482 GB, free: 4.066 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009896/0.6463, allocations: 0.6501 MB / 1.483 GB, free: 3.406 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6463, allocations: 0 / 1.483 GB, free: 3.406 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001402/0.6477, allocations: 0.5143 MB / 1.484 GB, free: 2.891 MB / 1.186 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.002167/0.6498, allocations: 0.6448 MB / 1.484 GB, free: 2.434 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005334/0.6552, allocations: 1.767 MB / 1.486 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6552, allocations: 0 / 1.486 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.658, allocations: 0.9783 MB / 1.487 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6599, allocations: 373.2 kB / 1.487 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.6669, allocations: 3.02 MB / 1.49 GB, free: 12.26 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.668, allocations: 1.249 MB / 1.491 GB, free: 10.98 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00183/0.6698, allocations: 398.3 kB / 1.492 GB, free: 10.58 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/0.6705, allocations: 167.3 kB / 1.492 GB, free: 10.42 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/0.6705, allocations: 4 kB / 1.492 GB, free: 10.41 MB / 1.201 GB Notification: Performance of Templates: time 0.0465/0.717, allocations: 25.21 MB / 1.517 GB, free: 1.418 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.70734670618549]