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.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001894/0.001895, allocations: 189 kB / 16.25 MB, free: 6.633 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.73 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01024/0.3542, allocations: 7.304 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.5271, allocations: 149.5 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.5296, allocations: 19.88 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.5329, allocations: 349.9 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.5368, allocations: 0.6642 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.5405, allocations: 1.019 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.5448, allocations: 2.466 MB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.5472, allocations: 1.152 MB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.5489, allocations: 0.9111 MB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.5507, allocations: 0.9882 MB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.5515, allocations: 268 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.5532, allocations: 0.6168 MB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008187/0.5541, allocations: 0.5686 MB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.5559, allocations: 1.089 MB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.5597, allocations: 3.089 MB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5598, allocations: 4 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5598, allocations: 4 kB / 1.234 GB, free: 28 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.643e-05/0.5599, allocations: 0 / 1.234 GB, free: 28 kB / 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.005316/0.5652, allocations: 2.282 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5653, allocations: 8.031 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/0.5717, allocations: 0.8685 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.574, allocations: 1.11 MB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5741, allocations: 119.3 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.5744, allocations: 160 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.5794, allocations: 2.06 MB / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.5795, allocations: 0 / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.5797, allocations: 72 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.5797, allocations: 40 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006111/0.5858, allocations: 2.452 MB / 1.243 GB, free: 6.699 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.01118/0.5971, allocations: 5.723 MB / 1.248 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6047/1.202, allocations: 1.719 MB / 1.25 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/1.204, allocations: 0.7957 MB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/1.205, allocations: 489.3 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/1.207, allocations: 1.071 MB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.486e-06/1.207, allocations: 0 / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.007838/1.215, allocations: 2.615 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/1.215, allocations: 221.8 kB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.217, allocations: 0.9457 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/1.217, allocations: 58.94 kB / 1.256 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/1.217, allocations: 0.6492 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/1.218, allocations: 445.8 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/1.218, allocations: 269.2 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/1.218, allocations: 364.2 kB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.22, allocations: 0.6869 MB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.222, allocations: 0.8287 MB / 1.259 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/1.226, allocations: 1.463 MB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.226, allocations: 4 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006134/1.232, allocations: 1.842 MB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/1.232, allocations: 9.5 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.232, allocations: 2.156 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/1.233, allocations: 85.52 kB / 1.263 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.235, allocations: 341.8 kB / 1.263 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.238, allocations: 1.66 MB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.24, allocations: 211.9 kB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/1.24, allocations: 66.27 kB / 1.265 GB, free: 176.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.001047/1.241, allocations: 401.6 kB / 1.265 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/1.242, allocations: 135.9 kB / 1.265 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006651/1.248, allocations: 2.226 MB / 1.267 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/1.248, allocations: 15.78 kB / 1.267 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.248, allocations: 0.9688 kB / 1.267 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.248, allocations: 7.734 kB / 1.267 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/1.251, allocations: 1.802 MB / 1.269 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.251, allocations: 0.7031 kB / 1.269 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.253, allocations: 308.3 kB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/1.254, allocations: 80.06 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/1.254, allocations: 52.45 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.256, allocations: 1.667 MB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.256, allocations: 4.062 kB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005949/1.262, allocations: 1.927 MB / 1.273 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/1.263, allocations: 443.5 kB / 1.274 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.263, allocations: 31.28 kB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.265, allocations: 154.4 kB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/1.265, allocations: 118.2 kB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.265, allocations: 58.98 kB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00103/1.266, allocations: 0.6817 MB / 1.275 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.714e-06/1.266, allocations: 0 / 1.275 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00157/1.268, allocations: 0.5311 MB / 1.275 GB, free: 171.3 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.001618/1.269, allocations: 0.6469 MB / 1.276 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007146/1.276, allocations: 2.164 MB / 1.278 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.277, allocations: 8.203 kB / 1.278 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/1.279, allocations: 1.05 MB / 1.279 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.281, allocations: 399.9 kB / 1.279 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/1.287, allocations: 3.817 MB / 1.283 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/1.288, allocations: 1.281 MB / 1.284 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002105/1.29, allocations: 406.1 kB / 1.285 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/1.291, allocations: 168 kB / 1.285 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.291, allocations: 1.25 kB / 1.285 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04595/1.336, allocations: 24.92 MB / 1.309 GB, free: 152.1 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