Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00133/0.00133, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001312/0.001312, allocations: 186 kB / 20.78 MB, free: 1.547 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 63.91 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3547, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.0102/0.3649, allocations: 7.489 MB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9747/1.34, allocations: 152.3 MB / 1.372 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/1.342, allocations: 19 kB / 1.372 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/1.343, allocations: 312.9 kB / 1.372 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003688/1.347, allocations: 0.8208 MB / 1.373 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/1.351, allocations: 1.148 MB / 1.374 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004433/1.355, allocations: 2.346 MB / 1.377 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/1.357, allocations: 0.7719 MB / 1.377 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/1.359, allocations: 0.9092 MB / 1.378 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/1.361, allocations: 0.9821 MB / 1.379 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008332/1.362, allocations: 268.5 kB / 1.38 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/1.364, allocations: 0.6484 MB / 1.38 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/1.365, allocations: 0.5454 MB / 1.381 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/1.368, allocations: 1.057 MB / 1.382 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005347/1.373, allocations: 3.131 MB / 1.385 GB, free: 8.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.373, allocations: 1.688 kB / 1.385 GB, free: 8.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/1.373, allocations: 0 / 1.385 GB, free: 8.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.86e-05/1.373, allocations: 3.938 kB / 1.385 GB, free: 8.316 MB / 1.061 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.005515/1.378, allocations: 2.283 MB / 1.387 GB, free: 6.609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.378, allocations: 10.66 kB / 1.387 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006056/1.385, allocations: 0.8705 MB / 1.388 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/1.387, allocations: 1.117 MB / 1.389 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.387, allocations: 124.7 kB / 1.389 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/1.387, allocations: 162 kB / 1.389 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004809/1.392, allocations: 2.05 MB / 1.391 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/1.392, allocations: 4 kB / 1.391 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.392, allocations: 67.44 kB / 1.391 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/1.392, allocations: 39.5 kB / 1.391 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/1.398, allocations: 2.447 MB / 1.394 GB, free: 2.684 MB / 1.061 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.01031/1.408, allocations: 5.653 MB / 1.399 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/1.413, allocations: 1.61 MB / 1.401 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/1.414, allocations: 0.7365 MB / 1.402 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/1.415, allocations: 491.5 kB / 1.402 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002381/1.418, allocations: 1.074 MB / 1.403 GB, free: 11.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 3.115e-06/1.418, allocations: 0 / 1.403 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.007689/1.425, allocations: 2.607 MB / 1.406 GB, free: 10.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.425, allocations: 197.2 kB / 1.406 GB, free: 10.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.427, allocations: 0.882 MB / 1.407 GB, free: 9.742 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.427, allocations: 53.98 kB / 1.407 GB, free: 9.691 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/1.428, allocations: 0.6402 MB / 1.407 GB, free: 9.121 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004857/1.428, allocations: 467.1 kB / 1.408 GB, free: 8.715 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/1.429, allocations: 277.2 kB / 1.408 GB, free: 8.547 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.429, allocations: 360 kB / 1.408 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/1.431, allocations: 0.6894 MB / 1.409 GB, free: 7.848 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.433, allocations: 0.8283 MB / 1.41 GB, free: 7.387 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.436, allocations: 1.456 MB / 1.411 GB, free: 6.617 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/1.436, allocations: 10.81 kB / 1.411 GB, free: 6.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005156/1.442, allocations: 1.844 MB / 1.413 GB, free: 5.352 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.442, allocations: 4 kB / 1.413 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.442, allocations: 0 / 1.413 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/1.442, allocations: 92.77 kB / 1.413 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.444, allocations: 343.4 kB / 1.414 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.446, allocations: 1.655 MB / 1.415 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.448, allocations: 201.2 kB / 1.415 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.448, allocations: 63.94 kB / 1.415 GB, free: 2.863 MB / 1.076 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.0009951/1.449, allocations: 399.7 kB / 1.416 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/1.45, allocations: 131.1 kB / 1.416 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/1.456, allocations: 2.208 MB / 1.418 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.456, allocations: 16 kB / 1.418 GB, free: 100 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.456, allocations: 3.938 kB / 1.418 GB, free: 96 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.456, allocations: 11.97 kB / 1.418 GB, free: 84 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.458, allocations: 1.788 MB / 1.42 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.458, allocations: 0 / 1.42 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.46, allocations: 311.5 kB / 1.42 GB, free: 13.94 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/1.46, allocations: 76.78 kB / 1.42 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.461, allocations: 47.95 kB / 1.42 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.463, allocations: 1.67 MB / 1.422 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.463, allocations: 0 / 1.422 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/1.468, allocations: 1.922 MB / 1.424 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/1.468, allocations: 439.7 kB / 1.424 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.469, allocations: 35.92 kB / 1.424 GB, free: 9.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.47, allocations: 143.8 kB / 1.424 GB, free: 9.434 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.47, allocations: 113.2 kB / 1.424 GB, free: 9.324 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.47, allocations: 63.88 kB / 1.425 GB, free: 9.262 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009287/1.471, allocations: 0.6423 MB / 1.425 GB, free: 8.609 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.471, allocations: 0 / 1.425 GB, free: 8.609 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00144/1.473, allocations: 0.522 MB / 1.426 GB, free: 8.086 MB / 1.092 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.002075/1.475, allocations: 0.659 MB / 1.426 GB, free: 7.605 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004954/1.48, allocations: 1.755 MB / 1.428 GB, free: 5.836 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.48, allocations: 0 / 1.428 GB, free: 5.836 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002449/1.482, allocations: 0.986 MB / 1.429 GB, free: 4.84 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.484, allocations: 365 kB / 1.429 GB, free: 4.504 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/1.49, allocations: 3.02 MB / 1.432 GB, free: 1.453 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/1.491, allocations: 1.264 MB / 1.434 GB, free: 160 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001632/1.493, allocations: 398.3 kB / 1.434 GB, free: 15.76 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/1.493, allocations: 163.3 kB / 1.434 GB, free: 15.6 MB / 1.107 GB Notification: Performance of SimCode: time 1.102e-06/1.493, allocations: 0 / 1.434 GB, free: 15.6 MB / 1.107 GB Notification: Performance of Templates: time 0.04654/1.54, allocations: 25.22 MB / 1.459 GB, free: 6.582 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.663580367341638]