Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008255/0.0008254, allocations: 92.55 kB / 16.02 MB, free: 80 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.001101/0.001101, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.888/2.888, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 14.97 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3479, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1245/0.4725, allocations: 127.9 MB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0375/0.5101, allocations: 24.94 MB / 1.209 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/0.5157, allocations: 119.2 kB / 1.209 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005186/0.5209, allocations: 1.414 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.5347, allocations: 4.166 MB / 1.214 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009602/0.5444, allocations: 3.191 MB / 1.217 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01535/0.5597, allocations: 11.37 MB / 1.228 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00598/0.5657, allocations: 2.53 MB / 1.231 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008179/0.574, allocations: 2.753 MB / 1.234 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.5789, allocations: 2.294 MB / 1.236 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.5802, allocations: 131.9 kB / 1.236 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/0.5879, allocations: 2.48 MB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.5897, allocations: 0.6182 MB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004225/0.5939, allocations: 1.708 MB / 1.241 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008443/0.6024, allocations: 4.832 MB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6024, allocations: 0 / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6024, allocations: 0 / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002057/0.6026, allocations: 0 / 1.245 GB, free: 5.898 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008605/0.6113, allocations: 3.367 MB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6113, allocations: 12.03 kB / 1.249 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.6228, allocations: 1.456 MB / 1.25 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6219/1.245, allocations: 2.931 MB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/1.245, allocations: 253.8 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/1.246, allocations: 235.9 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008228/1.254, allocations: 3.241 MB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/1.254, allocations: 6.875 kB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/1.254, allocations: 101.9 kB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/1.254, allocations: 73.3 kB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009315/1.264, allocations: 2.897 MB / 1.26 GB, free: 181.7 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.02346/1.287, allocations: 13.66 MB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005195/1.292, allocations: 1.506 MB / 1.274 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.296, allocations: 0.9392 MB / 1.275 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.298, allocations: 1.783 MB / 1.277 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004414/1.302, allocations: 1.222 MB / 1.278 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.598e-06/1.302, allocations: 0.8125 kB / 1.278 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.05764/1.36, allocations: 11.93 MB / 1.29 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/1.36, allocations: 0.5823 MB / 1.29 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/1.365, allocations: 2.608 MB / 1.293 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005528/1.366, allocations: 63.42 kB / 1.293 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/1.367, allocations: 1.32 MB / 1.294 GB, free: 163 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/1.368, allocations: 467.1 kB / 1.295 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.368, allocations: 148.8 kB / 1.295 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/1.368, allocations: 309.1 kB / 1.295 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/1.372, allocations: 1.005 MB / 1.296 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/1.376, allocations: 1.611 MB / 1.298 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/1.383, allocations: 2.315 MB / 1.3 GB, free: 159 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.383, allocations: 7.312 kB / 1.3 GB, free: 159 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02386/1.407, allocations: 4.266 MB / 1.304 GB, free: 157 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002987/1.408, allocations: 496.1 kB / 1.305 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.408, allocations: 11.84 kB / 1.305 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/1.411, allocations: 1.169 MB / 1.306 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/1.414, allocations: 471.1 kB / 1.306 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/1.418, allocations: 2.39 MB / 1.309 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/1.423, allocations: 417.3 kB / 1.309 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.423, allocations: 109 kB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.423, allocations: 3.906 kB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02217/1.446, allocations: 3.973 MB / 1.313 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/1.446, allocations: 11 kB / 1.313 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/1.45, allocations: 1.165 MB / 1.314 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.452, allocations: 462.7 kB / 1.315 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.456, allocations: 2.394 MB / 1.317 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.46, allocations: 370.9 kB / 1.317 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/1.461, allocations: 107.9 kB / 1.317 GB, free: 148.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.463, allocations: 0.7066 MB / 1.318 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007731/1.463, allocations: 284.6 kB / 1.318 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007699/1.471, allocations: 2.457 MB / 1.321 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.471, allocations: 25.97 kB / 1.321 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.471, allocations: 4 kB / 1.321 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006506/1.478, allocations: 2.064 MB / 1.323 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/1.499, allocations: 7.098 MB / 1.33 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.499, allocations: 8 kB / 1.33 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/1.5, allocations: 284.1 kB / 1.33 GB, free: 135 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/1.504, allocations: 1.024 MB / 1.331 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.504, allocations: 55.94 kB / 1.331 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/1.507, allocations: 2.161 MB / 1.333 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.507, allocations: 13.11 kB / 1.333 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.52, allocations: 3.842 MB / 1.337 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.522, allocations: 0.6573 MB / 1.338 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007241/1.523, allocations: 39.98 kB / 1.338 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/1.526, allocations: 296.1 kB / 1.338 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/1.526, allocations: 120.6 kB / 1.338 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.527, allocations: 75.92 kB / 1.338 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002819/1.529, allocations: 1.836 MB / 1.34 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.529, allocations: 0 / 1.34 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00485/1.534, allocations: 1.477 MB / 1.341 GB, free: 123.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/1.536, allocations: 0.8021 MB / 1.342 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.548, allocations: 3.816 MB / 1.346 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.311e-05/1.548, allocations: 4.438 kB / 1.346 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.552, allocations: 1.061 MB / 1.347 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.563, allocations: 1.56 MB / 1.348 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.574, allocations: 6.174 MB / 1.354 GB, free: 109.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.575, allocations: 1.713 MB / 1.356 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.577, allocations: 287.2 kB / 1.356 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.577, allocations: 4 kB / 1.356 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.08475/1.661, allocations: 82.03 MB / 1.436 GB, free: 26.18 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches