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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 64.23 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3541, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009697/0.3638, allocations: 7.332 MB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.5491, allocations: 151.8 MB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.5504, allocations: 19.94 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.5519, allocations: 424.7 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.5541, allocations: 0.7604 MB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.5564, allocations: 1.124 MB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.5594, allocations: 2.447 MB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.561, allocations: 1.16 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.5622, allocations: 0.8994 MB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.5632, allocations: 0.9897 MB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.5636, allocations: 264 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.5647, allocations: 0.6207 MB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.5652, allocations: 0.557 MB / 1.233 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008854/0.5661, allocations: 1.085 MB / 1.234 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.569, allocations: 3.104 MB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.569, allocations: 4 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.569, allocations: 0 / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.569, allocations: 0 / 1.237 GB, free: 13.11 MB / 0.9981 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.004134/0.5731, allocations: 2.282 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5732, allocations: 12.03 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/0.579, allocations: 0.8724 MB / 1.24 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.5806, allocations: 1.106 MB / 1.241 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/0.5808, allocations: 123.3 kB / 1.241 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.581, allocations: 156 kB / 1.241 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.5852, allocations: 2.063 MB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.5853, allocations: 0 / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5854, allocations: 68 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5855, allocations: 40 kB / 1.243 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005778/0.5913, allocations: 2.444 MB / 1.246 GB, free: 3.781 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.5721/1.163, allocations: 5.715 MB / 1.251 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/1.168, allocations: 1.714 MB / 1.253 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/1.17, allocations: 0.7966 MB / 1.254 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/1.171, allocations: 489.3 kB / 1.254 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002612/1.174, allocations: 1.08 MB / 1.255 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 4.388e-06/1.174, allocations: 0 / 1.255 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.007733/1.181, allocations: 2.606 MB / 1.258 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/1.181, allocations: 223.5 kB / 1.258 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.183, allocations: 0.9449 MB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.183, allocations: 54.36 kB / 1.259 GB, free: 179 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/1.183, allocations: 0.6425 MB / 1.26 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/1.184, allocations: 462.8 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.184, allocations: 270 kB / 1.26 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.184, allocations: 355 kB / 1.261 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.186, allocations: 0.6973 MB / 1.261 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.188, allocations: 0.8259 MB / 1.262 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.192, allocations: 1.464 MB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.192, allocations: 1.781 kB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005446/1.198, allocations: 1.847 MB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.198, allocations: 5.969 kB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.198, allocations: 0 / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/1.199, allocations: 85.69 kB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.201, allocations: 348.2 kB / 1.266 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.204, allocations: 1.649 MB / 1.267 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.207, allocations: 201.4 kB / 1.268 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/1.207, allocations: 61.11 kB / 1.268 GB, free: 174.2 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.001279/1.209, allocations: 405 kB / 1.268 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/1.209, allocations: 134.4 kB / 1.268 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/1.216, allocations: 2.227 MB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.216, allocations: 15.75 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.216, allocations: 0 / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/1.216, allocations: 10.19 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/1.219, allocations: 1.804 MB / 1.272 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.219, allocations: 5.234 kB / 1.272 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.221, allocations: 317 kB / 1.272 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005069/1.221, allocations: 71.45 kB / 1.273 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.221, allocations: 50.33 kB / 1.273 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/1.223, allocations: 1.675 MB / 1.274 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.223, allocations: 2.531 kB / 1.274 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/1.229, allocations: 1.926 MB / 1.276 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/1.23, allocations: 443.6 kB / 1.277 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.23, allocations: 38.62 kB / 1.277 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.231, allocations: 144.8 kB / 1.277 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.232, allocations: 116.8 kB / 1.277 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.232, allocations: 61.56 kB / 1.277 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00101/1.233, allocations: 0.6834 MB / 1.278 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.233, allocations: 0 / 1.278 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001715/1.235, allocations: 0.5178 MB / 1.278 GB, free: 169 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.001613/1.236, allocations: 0.6525 MB / 1.279 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007309/1.243, allocations: 2.165 MB / 1.281 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.243, allocations: 5.781 kB / 1.281 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.246, allocations: 1.054 MB / 1.282 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.248, allocations: 401.9 kB / 1.282 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/1.254, allocations: 3.08 MB / 1.285 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008802/1.255, allocations: 1.285 MB / 1.286 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002163/1.258, allocations: 401.6 kB / 1.287 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.258, allocations: 168.7 kB / 1.287 GB, free: 165 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/1.258, allocations: 0 / 1.287 GB, free: 165 MB / 0.9981 GB Notification: Performance of Templates: time 0.04265/1.301, allocations: 25.13 MB / 1.312 GB, free: 149.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