Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009221/0.000922, allocations: 92.08 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.001203/0.001203, allocations: 178.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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 8 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7639/0.7643, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1246/0.8889, allocations: 127.9 MB / 1.081 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0393/0.9283, allocations: 24.93 MB / 1.105 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006745/0.9351, allocations: 123.2 kB / 1.105 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.9407, allocations: 1.41 MB / 1.106 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.9555, allocations: 4.151 MB / 1.111 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009923/0.9654, allocations: 3.207 MB / 1.114 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01545/0.9809, allocations: 11.36 MB / 1.125 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006102/0.987, allocations: 2.517 MB / 1.127 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.9949, allocations: 2.745 MB / 1.13 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005024/0.9999, allocations: 2.302 MB / 1.132 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.001, allocations: 128 kB / 1.132 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007924/1.009, allocations: 2.472 MB / 1.135 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/1.011, allocations: 0.6221 MB / 1.135 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004299/1.015, allocations: 1.7 MB / 1.137 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008655/1.024, allocations: 4.84 MB / 1.142 GB, free: 284 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.024, allocations: 0 / 1.142 GB, free: 284 kB / 0.8887 GB Notification: Performance of FrontEnd: time 4.067e-06/1.024, allocations: 7.938 kB / 1.142 GB, free: 276 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002058/1.024, allocations: 0 / 1.142 GB, free: 276 kB / 0.8887 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.008639/1.033, allocations: 3.363 MB / 1.145 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.033, allocations: 8.031 kB / 1.145 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/1.045, allocations: 1.455 MB / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/1.052, allocations: 2.931 MB / 1.149 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/1.052, allocations: 255.9 kB / 1.15 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008216/1.053, allocations: 236 kB / 1.15 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/1.063, allocations: 3.257 MB / 1.153 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.963e-05/1.063, allocations: 4 kB / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005141/1.064, allocations: 103.9 kB / 1.153 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.731e-05/1.064, allocations: 75.92 kB / 1.153 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/1.075, allocations: 2.893 MB / 1.156 GB, free: 1.297 MB / 0.9044 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.02494/1.1, allocations: 13.66 MB / 1.169 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004956/1.105, allocations: 1.51 MB / 1.171 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/1.108, allocations: 0.9432 MB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/1.11, allocations: 1.785 MB / 1.173 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004185/1.114, allocations: 1.22 MB / 1.175 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 7.514e-06/1.115, allocations: 0 / 1.175 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=132): time 0.05807/1.173, allocations: 11.93 MB / 1.186 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003122/1.173, allocations: 0.5844 MB / 1.187 GB, free: 268 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004688/1.178, allocations: 2.612 MB / 1.189 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004317/1.178, allocations: 61.7 kB / 1.189 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.179, allocations: 1.321 MB / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/1.18, allocations: 457.5 kB / 1.191 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.18, allocations: 149.6 kB / 1.191 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.18, allocations: 309.1 kB / 1.192 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/1.184, allocations: 1.011 MB / 1.193 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/1.189, allocations: 1.612 MB / 1.194 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007911/1.197, allocations: 2.31 MB / 1.196 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.197, allocations: 4 kB / 1.196 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02515/1.222, allocations: 4.259 MB / 1.201 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004514/1.223, allocations: 0.4944 MB / 1.201 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.223, allocations: 12 kB / 1.201 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/1.227, allocations: 1.17 MB / 1.202 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/1.23, allocations: 467.2 kB / 1.203 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/1.234, allocations: 2.402 MB / 1.205 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005151/1.239, allocations: 407.3 kB / 1.205 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.24, allocations: 103.9 kB / 1.205 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.24, allocations: 4 kB / 1.205 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02365/1.263, allocations: 3.976 MB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/1.263, allocations: 16.06 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/1.268, allocations: 1.169 MB / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/1.27, allocations: 467.2 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/1.275, allocations: 2.386 MB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/1.28, allocations: 373.2 kB / 1.214 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/1.28, allocations: 103.9 kB / 1.214 GB, free: 3.867 MB / 0.9669 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.001929/1.282, allocations: 0.7024 MB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009173/1.283, allocations: 288.5 kB / 1.215 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009186/1.292, allocations: 2.456 MB / 1.217 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/1.292, allocations: 16.09 kB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.292, allocations: 7.984 kB / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007442/1.3, allocations: 2.068 MB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02375/1.324, allocations: 7.093 MB / 1.226 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/1.324, allocations: 8 kB / 1.226 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.326, allocations: 295.7 kB / 1.226 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003885/1.33, allocations: 1.022 MB / 1.227 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.33, allocations: 51.94 kB / 1.227 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/1.334, allocations: 2.164 MB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.334, allocations: 11.94 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.349, allocations: 3.843 MB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/1.351, allocations: 0.6573 MB / 1.234 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.352, allocations: 36 kB / 1.234 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/1.356, allocations: 297 kB / 1.234 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/1.356, allocations: 120.7 kB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/1.357, allocations: 79.92 kB / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004259/1.361, allocations: 1.836 MB / 1.236 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.361, allocations: 0 / 1.236 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005544/1.367, allocations: 1.484 MB / 1.238 GB, free: 10.91 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.001942/1.369, allocations: 0.7888 MB / 1.238 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.382, allocations: 3.815 MB / 1.242 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/1.382, allocations: 8.75 kB / 1.242 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003948/1.386, allocations: 1.055 MB / 1.243 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/1.397, allocations: 1.561 MB / 1.245 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6174/2.015, allocations: 6.175 MB / 1.251 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/2.017, allocations: 1.717 MB / 1.252 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/2.018, allocations: 283.6 kB / 1.253 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/2.018, allocations: 0.6875 kB / 1.253 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.1036/2.122, allocations: 82.03 MB / 1.333 GB, free: 117.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches