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.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.001812/0.001812, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002134/0.002134, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.92/2.92, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002182/0.002182, allocations: 66.73 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3718, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01057/0.3823, allocations: 6.568 MB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2966/0.6789, allocations: 133.8 MB / 1.42 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.6819, allocations: 23.81 kB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.6839, allocations: 320.9 kB / 1.42 GB, free: 14.74 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.6903, allocations: 0.8279 MB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006331/0.6966, allocations: 1.16 MB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006407/0.7031, allocations: 2.372 MB / 1.425 GB, free: 10.37 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.706, allocations: 0.7432 MB / 1.425 GB, free: 9.574 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.7086, allocations: 0.9463 MB / 1.426 GB, free: 8.625 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.7111, allocations: 0.8826 MB / 1.427 GB, free: 7.738 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.7122, allocations: 268 kB / 1.427 GB, free: 7.477 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.7151, allocations: 0.6559 MB / 1.428 GB, free: 6.82 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.7163, allocations: 0.5492 MB / 1.429 GB, free: 6.27 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.7187, allocations: 0.8673 MB / 1.429 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007843/0.7265, allocations: 3.188 MB / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.7265, allocations: 0 / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7265, allocations: 0 / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001146/0.7267, allocations: 0 / 1.433 GB, free: 2.199 MB / 1.123 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.009452/0.7361, allocations: 2.243 MB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.7362, allocations: 12.03 kB / 1.435 GB, free: 15.9 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.7493, allocations: 1.002 MB / 1.436 GB, free: 14.9 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.7543, allocations: 1.069 MB / 1.437 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.7546, allocations: 119.3 kB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.7557, allocations: 160 kB / 1.437 GB, free: 13.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.7659, allocations: 2.302 MB / 1.439 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.766, allocations: 0 / 1.439 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/0.7664, allocations: 75.94 kB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.7665, allocations: 40 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.778, allocations: 2.393 MB / 1.442 GB, free: 8.598 MB / 1.139 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.01938/0.7974, allocations: 4.377 MB / 1.446 GB, free: 4.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008406/0.8058, allocations: 1.616 MB / 1.448 GB, free: 2.539 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003901/0.8097, allocations: 0.7321 MB / 1.448 GB, free: 1.801 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/0.8106, allocations: 101.1 kB / 1.448 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004566/0.8151, allocations: 1.176 MB / 1.45 GB, free: 492 kB / 1.139 GB Notification: Performance of pre-optimization done (n=139): time 6.543e-06/0.8152, allocations: 0 / 1.45 GB, free: 492 kB / 1.139 GB Notification: Performance of matching and sorting (n=139): time 0.01075/0.8259, allocations: 2.517 MB / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.8261, allocations: 193.2 kB / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.828, allocations: 0.7982 MB / 1.453 GB, free: 12.92 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/0.8283, allocations: 53.7 kB / 1.453 GB, free: 12.86 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/0.8292, allocations: 0.6575 MB / 1.454 GB, free: 12.19 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009269/0.8301, allocations: 476 kB / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00089/0.831, allocations: 270.7 kB / 1.454 GB, free: 11.45 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.8313, allocations: 357.9 kB / 1.455 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.8336, allocations: 0.6897 MB / 1.455 GB, free: 10.41 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/0.8364, allocations: 0.9748 MB / 1.456 GB, free: 9.375 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/0.8411, allocations: 1.463 MB / 1.458 GB, free: 7.898 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.8411, allocations: 0 / 1.458 GB, free: 7.898 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005968/0.8471, allocations: 1.832 MB / 1.46 GB, free: 6.055 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8471, allocations: 8 kB / 1.46 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.8471, allocations: 3.984 kB / 1.46 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.8478, allocations: 88.83 kB / 1.46 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.8498, allocations: 343.5 kB / 1.46 GB, free: 5.617 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.8522, allocations: 1.512 MB / 1.461 GB, free: 3.996 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.854, allocations: 197.7 kB / 1.462 GB, free: 3.805 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.8541, allocations: 59.94 kB / 1.462 GB, free: 3.746 MB / 1.154 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.0009927/0.8551, allocations: 392.4 kB / 1.462 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.8555, allocations: 131.1 kB / 1.462 GB, free: 3.223 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/0.8622, allocations: 2.201 MB / 1.464 GB, free: 1.004 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.8622, allocations: 16 kB / 1.464 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8622, allocations: 3.984 kB / 1.464 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.8622, allocations: 3.984 kB / 1.464 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.8647, allocations: 1.276 MB / 1.466 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.8647, allocations: 3.938 kB / 1.466 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.8665, allocations: 319.5 kB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.8669, allocations: 72.73 kB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.8671, allocations: 47.94 kB / 1.466 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.8693, allocations: 1.547 MB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8693, allocations: 0 / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.8752, allocations: 1.914 MB / 1.469 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.8762, allocations: 346.7 kB / 1.47 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.8765, allocations: 39.89 kB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.8781, allocations: 135.8 kB / 1.47 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.8783, allocations: 125.1 kB / 1.47 GB, free: 11.01 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.8785, allocations: 59.94 kB / 1.47 GB, free: 10.95 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001021/0.8795, allocations: 0.5773 MB / 1.471 GB, free: 10.36 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8795, allocations: 7.938 kB / 1.471 GB, free: 10.36 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001613/0.8811, allocations: 0.5337 MB / 1.471 GB, free: 9.82 MB / 1.17 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.002354/0.8835, allocations: 0.6775 MB / 1.472 GB, free: 9.348 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005299/0.8888, allocations: 1.755 MB / 1.474 GB, free: 7.578 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8888, allocations: 3.938 kB / 1.474 GB, free: 7.574 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.8916, allocations: 0.9743 MB / 1.475 GB, free: 6.59 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.8934, allocations: 344.2 kB / 1.475 GB, free: 6.273 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.9008, allocations: 3.023 MB / 1.478 GB, free: 3.215 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/0.9017, allocations: 0.6812 MB / 1.478 GB, free: 2.5 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002025/0.9037, allocations: 389.5 kB / 1.479 GB, free: 2.117 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007432/0.9044, allocations: 167.3 kB / 1.479 GB, free: 1.953 MB / 1.17 GB Notification: Performance of SimCode: time 1.292e-06/0.9044, allocations: 0 / 1.479 GB, free: 1.953 MB / 1.17 GB Notification: Performance of Templates: time 0.04777/0.9522, allocations: 25.63 MB / 1.504 GB, free: 8.621 MB / 1.201 GB " [Timeout remaining time 298] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.057347197085619]