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.001305/0.001305, allocations: 91.45 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.01029/0.01029, allocations: 172.4 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005343, allocations: 8.906 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3278, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008028/0.3359, allocations: 6.878 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1663/0.5022, allocations: 147.8 MB / 1.21 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.5036, allocations: 19.88 kB / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.5047, allocations: 234.2 kB / 1.21 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.5076, allocations: 0.6989 MB / 1.211 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.51, allocations: 0.9977 MB / 1.212 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.5127, allocations: 2.17 MB / 1.214 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.5142, allocations: 1.091 MB / 1.215 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.5154, allocations: 0.587 MB / 1.215 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009886/0.5164, allocations: 0.6877 MB / 1.216 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5165, allocations: 44 kB / 1.216 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.5177, allocations: 411.6 kB / 1.216 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.518, allocations: 302.5 kB / 1.217 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.5189, allocations: 0.8016 MB / 1.218 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.5219, allocations: 2.815 MB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5219, allocations: 0 / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5219, allocations: 0 / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.5219, allocations: 4 kB / 1.22 GB, free: 15.32 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.004181/0.5261, allocations: 1.857 MB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5262, allocations: 8.031 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006143/0.5323, allocations: 0.9311 MB / 1.223 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.5345, allocations: 1.086 MB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.5346, allocations: 123.3 kB / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.5349, allocations: 160 kB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/0.5397, allocations: 2.086 MB / 1.226 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.5398, allocations: 4 kB / 1.226 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.5399, allocations: 71.98 kB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.54, allocations: 40 kB / 1.226 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.546, allocations: 2.499 MB / 1.229 GB, free: 6.309 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.009641/0.5557, allocations: 5.737 MB / 1.235 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.56, allocations: 1.721 MB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.562, allocations: 0.8211 MB / 1.237 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.5627, allocations: 491 kB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/0.5652, allocations: 1.075 MB / 1.239 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 2.925e-06/0.5652, allocations: 0 / 1.239 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.00804/0.5733, allocations: 2.63 MB / 1.241 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.5735, allocations: 197.2 kB / 1.241 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.5752, allocations: 0.8859 MB / 1.242 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.5754, allocations: 57.7 kB / 1.242 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/0.5761, allocations: 0.625 MB / 1.243 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.5765, allocations: 449.5 kB / 1.243 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.5767, allocations: 109.7 kB / 1.243 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5769, allocations: 357.9 kB / 1.244 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.5789, allocations: 0.6975 MB / 1.244 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.5809, allocations: 0.8437 MB / 1.245 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.5849, allocations: 1.486 MB / 1.247 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5849, allocations: 0 / 1.247 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005165/0.59, allocations: 1.847 MB / 1.248 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5901, allocations: 9.312 kB / 1.248 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5901, allocations: 4 kB / 1.248 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.5907, allocations: 88.72 kB / 1.249 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.5926, allocations: 351.4 kB / 1.249 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7291/1.322, allocations: 1.537 MB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/1.324, allocations: 227.6 kB / 1.251 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/1.324, allocations: 63.48 kB / 1.251 GB, free: 187.6 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.0008412/1.325, allocations: 387.2 kB / 1.251 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/1.325, allocations: 131.5 kB / 1.251 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/1.332, allocations: 2.239 MB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/1.332, allocations: 18.44 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.332, allocations: 2.375 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.332, allocations: 8.625 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.334, allocations: 1.785 MB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.334, allocations: 0 / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.335, allocations: 318.9 kB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/1.336, allocations: 87.3 kB / 1.256 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/1.336, allocations: 45.59 kB / 1.256 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.337, allocations: 1.574 MB / 1.257 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.337, allocations: 0 / 1.257 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/1.342, allocations: 1.937 MB / 1.259 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007281/1.343, allocations: 455.5 kB / 1.259 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.343, allocations: 33.36 kB / 1.259 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.345, allocations: 172.2 kB / 1.26 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.345, allocations: 115.5 kB / 1.26 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.345, allocations: 60.09 kB / 1.26 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008792/1.346, allocations: 0.6409 MB / 1.26 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.346, allocations: 0 / 1.26 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001392/1.347, allocations: 0.5163 MB / 1.261 GB, free: 185.4 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.001488/1.349, allocations: 0.6449 MB / 1.262 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00481/1.354, allocations: 1.836 MB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.354, allocations: 3.031 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/1.356, allocations: 1.065 MB / 1.264 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.358, allocations: 353.4 kB / 1.265 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/1.365, allocations: 3.765 MB / 1.268 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.366, allocations: 1.258 MB / 1.27 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001965/1.368, allocations: 396.2 kB / 1.27 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/1.369, allocations: 169.1 kB / 1.27 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.369, allocations: 0 / 1.27 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04168/1.411, allocations: 23.07 MB / 1.293 GB, free: 174.2 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