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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 90.36 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009175/0.009175, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.088/3.088, allocations: 470.6 MB / 0.7441 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 7.688 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008323/0.3656, allocations: 6.853 MB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1969/0.5625, allocations: 147.8 MB / 1.221 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.5645, allocations: 15.94 kB / 1.221 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5659, allocations: 238.2 kB / 1.221 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.5697, allocations: 0.6892 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.5728, allocations: 1.005 MB / 1.223 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.5763, allocations: 2.166 MB / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.5784, allocations: 1.091 MB / 1.226 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.5798, allocations: 0.587 MB / 1.227 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.5813, allocations: 0.6876 MB / 1.227 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.5818, allocations: 47.94 kB / 1.227 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.5833, allocations: 419.6 kB / 1.228 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.5838, allocations: 286.5 kB / 1.228 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.5853, allocations: 0.8094 MB / 1.229 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.5892, allocations: 2.819 MB / 1.232 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5892, allocations: 4 kB / 1.232 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5892, allocations: 3.938 kB / 1.232 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.525e-05/0.5893, allocations: 0 / 1.232 GB, free: 5.223 MB / 0.9825 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.004418/0.5937, allocations: 1.842 MB / 1.233 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5938, allocations: 12.03 kB / 1.233 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006457/0.6002, allocations: 0.9388 MB / 1.234 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.6025, allocations: 1.079 MB / 1.235 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.6026, allocations: 127.3 kB / 1.235 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.6029, allocations: 156 kB / 1.236 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005755/0.6087, allocations: 2.082 MB / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.6088, allocations: 0 / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.609, allocations: 68 kB / 1.238 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.609, allocations: 40 kB / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/0.6163, allocations: 2.51 MB / 1.24 GB, free: 12.22 MB / 0.9981 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.014/0.6303, allocations: 5.728 MB / 1.246 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.6355, allocations: 1.739 MB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.6378, allocations: 0.8167 MB / 1.248 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/0.6387, allocations: 483.1 kB / 1.249 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002915/0.6416, allocations: 1.088 MB / 1.25 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 4.389e-06/0.6416, allocations: 0 / 1.25 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.7379/1.38, allocations: 2.622 MB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/1.38, allocations: 200.8 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/1.381, allocations: 0.8833 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/1.382, allocations: 55.97 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/1.382, allocations: 0.6254 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/1.383, allocations: 450.8 kB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.383, allocations: 107.8 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/1.383, allocations: 356.2 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.386, allocations: 0.702 MB / 1.256 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/1.388, allocations: 0.8336 MB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/1.392, allocations: 1.486 MB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.392, allocations: 0 / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004975/1.397, allocations: 1.853 MB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.397, allocations: 5.562 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.397, allocations: 1.281 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/1.398, allocations: 91.95 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.4, allocations: 350.4 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/1.401, allocations: 1.552 MB / 1.262 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.403, allocations: 226 kB / 1.262 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.403, allocations: 64.91 kB / 1.262 GB, free: 179.5 MB / 0.9981 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.0009204/1.404, allocations: 396.1 kB / 1.262 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/1.405, allocations: 122.9 kB / 1.262 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/1.411, allocations: 2.237 MB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.411, allocations: 14.09 kB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.411, allocations: 6.75 kB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.411, allocations: 7.594 kB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.413, allocations: 1.779 MB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.413, allocations: 0.6562 kB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.415, allocations: 318.8 kB / 1.267 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/1.416, allocations: 84.88 kB / 1.267 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.416, allocations: 49.89 kB / 1.267 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.417, allocations: 1.565 MB / 1.268 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.417, allocations: 2.656 kB / 1.268 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/1.423, allocations: 1.94 MB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008178/1.423, allocations: 462.8 kB / 1.271 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.424, allocations: 32.33 kB / 1.271 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.425, allocations: 174.2 kB / 1.271 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/1.426, allocations: 111.9 kB / 1.271 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.426, allocations: 62.61 kB / 1.271 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009939/1.427, allocations: 0.6479 MB / 1.272 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.427, allocations: 0 / 1.272 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00145/1.428, allocations: 0.5095 MB / 1.272 GB, free: 175 MB / 0.9981 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.002016/1.43, allocations: 0.6407 MB / 1.273 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005556/1.436, allocations: 1.847 MB / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.436, allocations: 0 / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.438, allocations: 1.056 MB / 1.276 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.44, allocations: 343.5 kB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/1.446, allocations: 3.767 MB / 1.28 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008833/1.447, allocations: 1.259 MB / 1.281 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002245/1.45, allocations: 402 kB / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/1.45, allocations: 169.7 kB / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.45, allocations: 1.344 kB / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04576/1.496, allocations: 23.06 MB / 1.304 GB, free: 160.7 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (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) 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) Reference file matches