Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001556/0.001556, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001815/0.001815, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.425/2.425, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 64.03 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009358/0.3064, allocations: 7.385 MB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6721/0.9786, allocations: 151.7 MB / 1.182 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.98, allocations: 22.72 kB / 1.182 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.981, allocations: 306.7 kB / 1.182 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.9835, allocations: 0.7989 MB / 1.183 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.9859, allocations: 1.146 MB / 1.184 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.9887, allocations: 2.352 MB / 1.187 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.9902, allocations: 1.151 MB / 1.188 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.9915, allocations: 0.8997 MB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.9926, allocations: 0.9837 MB / 1.19 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.9929, allocations: 264.2 kB / 1.19 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.994, allocations: 0.6444 MB / 1.19 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004521/0.9945, allocations: 0.5471 MB / 1.191 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.9954, allocations: 1.067 MB / 1.192 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.9987, allocations: 3.107 MB / 1.195 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9987, allocations: 0 / 1.195 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9987, allocations: 3.938 kB / 1.195 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.178e-05/0.9988, allocations: 2.969 kB / 1.195 GB, free: 11.07 MB / 0.9044 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.004918/1.004, allocations: 2.226 MB / 1.197 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.004, allocations: 10.22 kB / 1.197 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/1.01, allocations: 0.8674 MB / 1.198 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/1.012, allocations: 1.107 MB / 1.199 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.012, allocations: 126.6 kB / 1.199 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/1.012, allocations: 161.4 kB / 1.199 GB, free: 8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004529/1.017, allocations: 2.053 MB / 1.201 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.017, allocations: 3.984 kB / 1.201 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.017, allocations: 67.03 kB / 1.202 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.017, allocations: 40.09 kB / 1.202 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005829/1.023, allocations: 2.446 MB / 1.204 GB, free: 5.504 MB / 0.9044 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.01042/1.033, allocations: 5.632 MB / 1.209 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/1.037, allocations: 1.713 MB / 1.211 GB, free: 136 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/1.039, allocations: 0.7987 MB / 1.212 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/1.04, allocations: 498.5 kB / 1.212 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/1.043, allocations: 1.071 MB / 1.213 GB, free: 13.66 MB / 0.92 GB Notification: Performance of pre-optimization done (n=139): time 3.397e-06/1.043, allocations: 0 / 1.213 GB, free: 13.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=139): time 0.007553/1.05, allocations: 2.599 MB / 1.216 GB, free: 11.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.05, allocations: 205.2 kB / 1.216 GB, free: 10.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.052, allocations: 0.8781 MB / 1.217 GB, free: 9.887 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.052, allocations: 53.7 kB / 1.217 GB, free: 9.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/1.052, allocations: 0.629 MB / 1.218 GB, free: 9.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000402/1.053, allocations: 453.5 kB / 1.218 GB, free: 8.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/1.053, allocations: 262.8 kB / 1.218 GB, free: 8.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.054, allocations: 357.9 kB / 1.219 GB, free: 8.117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/1.055, allocations: 0.6935 MB / 1.219 GB, free: 7.426 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.058, allocations: 0.8242 MB / 1.22 GB, free: 6.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/1.061, allocations: 1.471 MB / 1.222 GB, free: 5.098 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.061, allocations: 0 / 1.222 GB, free: 5.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005199/1.067, allocations: 1.836 MB / 1.223 GB, free: 3.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.067, allocations: 4.562 kB / 1.223 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.067, allocations: 8.062 kB / 1.223 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/1.067, allocations: 80.78 kB / 1.224 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.069, allocations: 347.5 kB / 1.224 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.071, allocations: 1.647 MB / 1.225 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.073, allocations: 213.7 kB / 1.226 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.073, allocations: 67.94 kB / 1.226 GB, free: 0.75 MB / 0.92 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.0007719/1.074, allocations: 388.1 kB / 1.226 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/1.074, allocations: 130.4 kB / 1.226 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005955/1.08, allocations: 2.21 MB / 1.228 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.08, allocations: 20 kB / 1.228 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.08, allocations: 0 / 1.228 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.08, allocations: 11.91 kB / 1.228 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.083, allocations: 1.776 MB / 1.23 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.083, allocations: 3.984 kB / 1.23 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.085, allocations: 311.6 kB / 1.23 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/1.085, allocations: 72.8 kB / 1.231 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/1.085, allocations: 47.94 kB / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.087, allocations: 1.677 MB / 1.232 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.087, allocations: 0 / 1.232 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/1.092, allocations: 1.913 MB / 1.234 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009006/1.093, allocations: 438.9 kB / 1.234 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.094, allocations: 35.84 kB / 1.235 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.095, allocations: 147.9 kB / 1.235 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.096, allocations: 117.1 kB / 1.235 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.096, allocations: 55.95 kB / 1.235 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001385/1.097, allocations: 0.6461 MB / 1.235 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/1.097, allocations: 0 / 1.235 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001729/1.099, allocations: 0.5103 MB / 1.236 GB, free: 5.988 MB / 0.9356 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.001608/1.101, allocations: 0.6473 MB / 1.237 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00492/1.105, allocations: 1.818 MB / 1.238 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.105, allocations: 4.125 kB / 1.238 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.108, allocations: 1.052 MB / 1.239 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.11, allocations: 381.5 kB / 1.24 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/1.117, allocations: 2.961 MB / 1.243 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.118, allocations: 1.26 MB / 1.244 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001749/1.119, allocations: 402.2 kB / 1.244 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/1.12, allocations: 171.3 kB / 1.244 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of SimCode: time 7.12e-07/1.12, allocations: 0 / 1.244 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.04166/1.162, allocations: 24.31 MB / 1.268 GB, free: 5.309 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches