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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001659/0.001659, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001941/0.00194, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.601/1.601, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 65.92 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3178, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008742/0.3266, allocations: 7.333 MB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.4979, allocations: 149.4 MB / 1.205 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.4995, allocations: 23.94 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.5007, allocations: 234.2 kB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.5035, allocations: 0.6982 MB / 1.206 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.5061, allocations: 0.992 MB / 1.207 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.5094, allocations: 2.177 MB / 1.209 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.511, allocations: 1.118 MB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5122, allocations: 0.751 MB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000961/0.5132, allocations: 0.8866 MB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5134, allocations: 116 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.5145, allocations: 479.6 kB / 1.212 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.5149, allocations: 418.4 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009168/0.5158, allocations: 0.917 MB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.5188, allocations: 2.933 MB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5189, allocations: 4 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5189, allocations: 3.984 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.831e-05/0.5189, allocations: 0 / 1.217 GB, free: 15.76 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.004706/0.5236, allocations: 2.231 MB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5237, allocations: 8.031 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/0.5297, allocations: 0.8608 MB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5315, allocations: 1.083 MB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.847e-05/0.5316, allocations: 127.2 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.5318, allocations: 160 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004638/0.5364, allocations: 2.051 MB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.5365, allocations: 3.938 kB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.5367, allocations: 72 kB / 1.223 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.5367, allocations: 40 kB / 1.223 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005859/0.5426, allocations: 2.444 MB / 1.225 GB, free: 6.531 MB / 0.9825 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.009817/0.5524, allocations: 5.698 MB / 1.231 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.5567, allocations: 1.712 MB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.5586, allocations: 0.8056 MB / 1.233 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.5593, allocations: 491.1 kB / 1.234 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/0.5618, allocations: 1.079 MB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.186e-06/0.5618, allocations: 0 / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.007455/0.5693, allocations: 2.599 MB / 1.238 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5694, allocations: 197.2 kB / 1.238 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5707, allocations: 0.8859 MB / 1.239 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.5709, allocations: 53.7 kB / 1.239 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.5715, allocations: 0.6328 MB / 1.239 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.572, allocations: 453.5 kB / 1.24 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.5725, allocations: 266.7 kB / 1.24 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5726, allocations: 357.9 kB / 1.24 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.5746, allocations: 0.6897 MB / 1.241 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.5766, allocations: 0.8281 MB / 1.242 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.5806, allocations: 1.459 MB / 1.243 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.5806, allocations: 0 / 1.243 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005687/0.5863, allocations: 1.836 MB / 1.245 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.5864, allocations: 12.92 kB / 1.245 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5864, allocations: 4.062 kB / 1.245 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.587, allocations: 84.72 kB / 1.245 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.5889, allocations: 347.5 kB / 1.245 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6252/1.214, allocations: 1.533 MB / 1.247 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.216, allocations: 208.8 kB / 1.247 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/1.217, allocations: 64.61 kB / 1.247 GB, free: 190.8 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.0009601/1.218, allocations: 387 kB / 1.248 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/1.218, allocations: 133.6 kB / 1.248 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/1.225, allocations: 2.219 MB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.225, allocations: 19.5 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.225, allocations: 2.156 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.225, allocations: 8.391 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.227, allocations: 1.786 MB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.227, allocations: 0 / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.229, allocations: 315.4 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/1.23, allocations: 84.2 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.23, allocations: 46.14 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.231, allocations: 1.559 MB / 1.254 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.231, allocations: 3.656 kB / 1.254 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/1.237, allocations: 1.916 MB / 1.255 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/1.238, allocations: 434.5 kB / 1.256 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/1.238, allocations: 36.94 kB / 1.256 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.24, allocations: 151.1 kB / 1.256 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.24, allocations: 115.2 kB / 1.256 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.24, allocations: 62.19 kB / 1.256 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001041/1.241, allocations: 0.6369 MB / 1.257 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.241, allocations: 3.688 kB / 1.257 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001725/1.243, allocations: 0.5182 MB / 1.257 GB, free: 188.6 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.00153/1.245, allocations: 0.6466 MB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004751/1.249, allocations: 1.819 MB / 1.26 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.249, allocations: 0 / 1.26 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/1.252, allocations: 1.053 MB / 1.261 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.254, allocations: 341.2 kB / 1.261 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/1.261, allocations: 3.722 MB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/1.262, allocations: 1.258 MB / 1.266 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002321/1.264, allocations: 400.8 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/1.265, allocations: 163.3 kB / 1.267 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.265, allocations: 0 / 1.267 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.05252/1.317, allocations: 23.28 MB / 1.289 GB, free: 177.5 MB / 0.9981 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 -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/jenkins/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