Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001046/0.001047, allocations: 92.16 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.00141/0.00141, allocations: 172.2 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.8 MB / 0.7128 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004881, allocations: 8.234 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7557, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1291/0.8849, allocations: 127.9 MB / 1.149 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03722/0.9222, allocations: 24.93 MB / 1.173 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006152/0.9284, allocations: 119.2 kB / 1.173 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005417/0.9338, allocations: 1.422 MB / 1.174 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.948, allocations: 4.146 MB / 1.179 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009113/0.9571, allocations: 3.195 MB / 1.182 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01512/0.9722, allocations: 11.38 MB / 1.193 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004916/0.9772, allocations: 2.524 MB / 1.195 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007388/0.9846, allocations: 2.745 MB / 1.198 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004888/0.9895, allocations: 2.298 MB / 1.2 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008327/0.9904, allocations: 132 kB / 1.2 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007381/0.9978, allocations: 2.48 MB / 1.203 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.9989, allocations: 0.6221 MB / 1.203 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003496/1.002, allocations: 1.712 MB / 1.205 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007576/1.01, allocations: 4.828 MB / 1.21 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.01, allocations: 4 kB / 1.21 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.356e-06/1.01, allocations: 0 / 1.21 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001383/1.01, allocations: 0 / 1.21 GB, free: 0.7227 MB / 0.9512 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.008011/1.018, allocations: 3.368 MB / 1.213 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.018, allocations: 12.03 kB / 1.213 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/1.03, allocations: 1.456 MB / 1.214 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/1.036, allocations: 2.933 MB / 1.217 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/1.036, allocations: 251.9 kB / 1.218 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006402/1.037, allocations: 228 kB / 1.218 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008525/1.045, allocations: 3.245 MB / 1.221 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/1.045, allocations: 11.92 kB / 1.221 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/1.046, allocations: 108 kB / 1.221 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.71e-05/1.046, allocations: 67.92 kB / 1.221 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/1.056, allocations: 2.905 MB / 1.224 GB, free: 1.746 MB / 0.9669 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.02337/1.079, allocations: 13.65 MB / 1.237 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/1.084, allocations: 1.515 MB / 1.239 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/1.087, allocations: 0.9393 MB / 1.24 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/1.089, allocations: 1.781 MB / 1.241 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004093/1.094, allocations: 1.212 MB / 1.243 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.328e-06/1.094, allocations: 4 kB / 1.243 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.05752/1.151, allocations: 11.93 MB / 1.254 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003357/1.151, allocations: 0.5766 MB / 1.255 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6343/1.786, allocations: 2.607 MB / 1.257 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/1.786, allocations: 66.89 kB / 1.257 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.788, allocations: 1.319 MB / 1.259 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000722/1.789, allocations: 463.1 kB / 1.259 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/1.789, allocations: 148 kB / 1.259 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/1.789, allocations: 302.5 kB / 1.26 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004274/1.793, allocations: 1.012 MB / 1.261 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/1.798, allocations: 1.604 MB / 1.262 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/1.806, allocations: 2.316 MB / 1.264 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.806, allocations: 4.094 kB / 1.264 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02652/1.832, allocations: 4.265 MB / 1.269 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003207/1.833, allocations: 492.4 kB / 1.269 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/1.833, allocations: 13.16 kB / 1.269 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/1.837, allocations: 1.17 MB / 1.27 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/1.84, allocations: 474.3 kB / 1.271 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/1.844, allocations: 2.396 MB / 1.273 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005373/1.849, allocations: 408.4 kB / 1.273 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/1.85, allocations: 106.8 kB / 1.273 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.85, allocations: 4 kB / 1.273 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02423/1.874, allocations: 3.982 MB / 1.277 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/1.874, allocations: 13.11 kB / 1.277 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/1.878, allocations: 1.169 MB / 1.278 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/1.881, allocations: 468.4 kB / 1.279 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/1.885, allocations: 2.384 MB / 1.281 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/1.889, allocations: 373.1 kB / 1.282 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/1.89, allocations: 109.6 kB / 1.282 GB, free: 210.8 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.001566/1.891, allocations: 0.6979 MB / 1.282 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/1.892, allocations: 290 kB / 1.283 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007739/1.9, allocations: 2.465 MB / 1.285 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.9, allocations: 15.72 kB / 1.285 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.9, allocations: 0 / 1.285 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006522/1.906, allocations: 2.07 MB / 1.287 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.927, allocations: 7.09 MB / 1.294 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.927, allocations: 8.562 kB / 1.294 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.929, allocations: 289.1 kB / 1.294 GB, free: 204 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/1.932, allocations: 1.027 MB / 1.295 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/1.932, allocations: 51.47 kB / 1.295 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/1.935, allocations: 2.162 MB / 1.298 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.935, allocations: 7.062 kB / 1.298 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.948, allocations: 3.845 MB / 1.301 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.95, allocations: 0.6612 MB / 1.302 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005141/1.951, allocations: 43.98 kB / 1.302 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00339/1.954, allocations: 296.6 kB / 1.302 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.954, allocations: 112.7 kB / 1.302 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.954, allocations: 79.92 kB / 1.302 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002707/1.957, allocations: 1.832 MB / 1.304 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.957, allocations: 0 / 1.304 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00434/1.961, allocations: 1.484 MB / 1.306 GB, free: 193.9 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.001599/1.963, allocations: 0.791 MB / 1.306 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.975, allocations: 3.82 MB / 1.31 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/1.975, allocations: 448 / 1.31 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/1.979, allocations: 1.056 MB / 1.311 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/1.989, allocations: 1.565 MB / 1.313 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.999, allocations: 6.187 MB / 1.319 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/2.001, allocations: 1.705 MB / 1.32 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/2.002, allocations: 287.2 kB / 1.321 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/2.002, allocations: 0 / 1.321 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08437/2.086, allocations: 82.02 MB / 1.401 GB, free: 96.75 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches