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.001353/0.001353, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001455/0.001455, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.5/1.5, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.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.804/2.804, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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.002003/0.002003, allocations: 63.91 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01051/1.155, allocations: 7.439 MB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2311/1.386, allocations: 152.3 MB / 1.428 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/1.389, allocations: 22.69 kB / 1.428 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/1.39, allocations: 309.5 kB / 1.428 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003929/1.394, allocations: 0.8168 MB / 1.429 GB, free: 60 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.397, allocations: 1.152 MB / 1.43 GB, free: 15.14 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003978/1.401, allocations: 2.357 MB / 1.433 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.403, allocations: 0.7627 MB / 1.433 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/1.405, allocations: 0.9083 MB / 1.434 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/1.406, allocations: 0.9883 MB / 1.435 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003821/1.406, allocations: 265.2 kB / 1.435 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/1.408, allocations: 0.64 MB / 1.436 GB, free: 11.61 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005304/1.408, allocations: 0.5452 MB / 1.437 GB, free: 11.14 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/1.41, allocations: 1.061 MB / 1.438 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004418/1.414, allocations: 3.131 MB / 1.441 GB, free: 7.852 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.414, allocations: 0 / 1.441 GB, free: 7.852 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.535e-06/1.414, allocations: 4 kB / 1.441 GB, free: 7.848 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.256e-05/1.414, allocations: 4 kB / 1.441 GB, free: 7.844 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.005387/1.419, allocations: 2.285 MB / 1.443 GB, free: 5.504 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.419, allocations: 8.031 kB / 1.443 GB, free: 5.496 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/1.426, allocations: 0.8736 MB / 1.444 GB, free: 4.621 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/1.428, allocations: 1.115 MB / 1.445 GB, free: 3.461 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.428, allocations: 119.3 kB / 1.445 GB, free: 3.344 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/1.428, allocations: 160 kB / 1.445 GB, free: 3.188 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/1.433, allocations: 2.051 MB / 1.447 GB, free: 1.086 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/1.433, allocations: 4 kB / 1.447 GB, free: 1.082 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.433, allocations: 67.98 kB / 1.447 GB, free: 1.016 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/1.433, allocations: 40 kB / 1.447 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/1.439, allocations: 2.448 MB / 1.45 GB, free: 14.52 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.01048/1.45, allocations: 5.658 MB / 1.455 GB, free: 8.688 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/1.454, allocations: 1.618 MB / 1.457 GB, free: 7.062 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/1.456, allocations: 0.7318 MB / 1.457 GB, free: 6.332 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008149/1.457, allocations: 491.1 kB / 1.458 GB, free: 5.758 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002544/1.46, allocations: 1.067 MB / 1.459 GB, free: 4.676 MB / 1.139 GB Notification: Performance of pre-optimization done (n=139): time 2.896e-06/1.46, allocations: 7.938 kB / 1.459 GB, free: 4.668 MB / 1.139 GB Notification: Performance of matching and sorting (n=139): time 0.007928/1.467, allocations: 2.611 MB / 1.461 GB, free: 2.031 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.468, allocations: 193.2 kB / 1.462 GB, free: 1.797 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.469, allocations: 0.8899 MB / 1.463 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.469, allocations: 53.7 kB / 1.463 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/1.47, allocations: 0.6382 MB / 1.463 GB, free: 180 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/1.47, allocations: 476.1 kB / 1.464 GB, free: 15.7 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/1.471, allocations: 262.8 kB / 1.464 GB, free: 15.44 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002989/1.471, allocations: 361.7 kB / 1.464 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.473, allocations: 0.6858 MB / 1.465 GB, free: 14.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.476, allocations: 0.8281 MB / 1.466 GB, free: 13.55 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/1.48, allocations: 1.463 MB / 1.467 GB, free: 12.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.48, allocations: 3.938 kB / 1.467 GB, free: 12.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005581/1.485, allocations: 1.84 MB / 1.469 GB, free: 10.22 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.485, allocations: 8 kB / 1.469 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.485, allocations: 0 / 1.469 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006734/1.486, allocations: 92.77 kB / 1.469 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.488, allocations: 339.5 kB / 1.469 GB, free: 9.785 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/1.49, allocations: 1.642 MB / 1.471 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.492, allocations: 211.1 kB / 1.471 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.492, allocations: 67.88 kB / 1.471 GB, free: 7.723 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.0009432/1.493, allocations: 388.2 kB / 1.472 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.494, allocations: 135.1 kB / 1.472 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006208/1.5, allocations: 2.214 MB / 1.474 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.5, allocations: 19.94 kB / 1.474 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.5, allocations: 0 / 1.474 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.5, allocations: 7.969 kB / 1.474 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/1.502, allocations: 1.788 MB / 1.476 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.502, allocations: 0 / 1.476 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.504, allocations: 315.5 kB / 1.476 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/1.505, allocations: 76.78 kB / 1.476 GB, free: 2.723 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.505, allocations: 43.95 kB / 1.476 GB, free: 2.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/1.507, allocations: 1.678 MB / 1.478 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.507, allocations: 0 / 1.478 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/1.513, allocations: 1.926 MB / 1.48 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/1.513, allocations: 439.6 kB / 1.48 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.514, allocations: 44.02 kB / 1.48 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.515, allocations: 138 kB / 1.48 GB, free: 14.28 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/1.516, allocations: 133.1 kB / 1.48 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.516, allocations: 59.95 kB / 1.48 GB, free: 14.09 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001085/1.517, allocations: 0.6345 MB / 1.481 GB, free: 13.45 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.517, allocations: 0 / 1.481 GB, free: 13.45 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001448/1.518, allocations: 0.5221 MB / 1.482 GB, free: 12.93 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.002114/1.52, allocations: 0.637 MB / 1.482 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005112/1.525, allocations: 1.759 MB / 1.484 GB, free: 10.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.525, allocations: 0 / 1.484 GB, free: 10.69 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/1.528, allocations: 0.9899 MB / 1.485 GB, free: 9.688 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.53, allocations: 380.5 kB / 1.485 GB, free: 9.34 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/1.536, allocations: 3.022 MB / 1.488 GB, free: 6.277 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/1.537, allocations: 1.26 MB / 1.489 GB, free: 4.984 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001615/1.539, allocations: 390.3 kB / 1.49 GB, free: 4.598 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.54, allocations: 167.3 kB / 1.49 GB, free: 4.434 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/1.54, allocations: 0 / 1.49 GB, free: 4.434 MB / 1.17 GB Notification: Performance of Templates: time 0.04718/1.587, allocations: 25.21 MB / 1.515 GB, free: 11.42 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: 10.788643164560199]