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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001079/0.001086, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008445/0.008445, allocations: 170 kB / 16.26 MB, free: 6.613 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6763, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1825/0.8588, allocations: 127.9 MB / 1.08 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03627/0.8952, allocations: 24.92 MB / 1.104 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005495/0.9007, allocations: 131.2 kB / 1.104 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.9055, allocations: 1.406 MB / 1.106 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.9182, allocations: 4.163 MB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008653/0.9268, allocations: 3.19 MB / 1.113 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.014/0.9409, allocations: 11.37 MB / 1.124 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004246/0.9451, allocations: 2.524 MB / 1.127 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.9513, allocations: 2.753 MB / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.9554, allocations: 2.29 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.956, allocations: 132 kB / 1.132 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006122/0.9621, allocations: 2.477 MB / 1.134 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008366/0.963, allocations: 0.626 MB / 1.135 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.9657, allocations: 1.708 MB / 1.136 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009363/0.9751, allocations: 6.024 MB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9751, allocations: 0 / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9751, allocations: 0 / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001044/0.9752, allocations: 0 / 1.142 GB, free: 15.12 MB / 0.9044 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.006669/0.9819, allocations: 3.374 MB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.982, allocations: 11.97 kB / 1.146 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.9936, allocations: 1.455 MB / 1.147 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.9988, allocations: 2.933 MB / 1.15 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.999, allocations: 259.9 kB / 1.15 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/0.9995, allocations: 232 kB / 1.15 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007922/1.007, allocations: 3.249 MB / 1.153 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/1.007, allocations: 3.938 kB / 1.153 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/1.008, allocations: 107.9 kB / 1.154 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/1.008, allocations: 71.98 kB / 1.154 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009632/1.017, allocations: 2.897 MB / 1.156 GB, free: 132 kB / 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.02174/1.039, allocations: 13.65 MB / 1.17 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/1.044, allocations: 1.516 MB / 1.171 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003436/1.048, allocations: 0.9393 MB / 1.172 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002098/1.05, allocations: 1.781 MB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004008/1.054, allocations: 1.223 MB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 5.059e-06/1.054, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=132): time 0.06059/1.114, allocations: 11.93 MB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003338/1.115, allocations: 0.5727 MB / 1.187 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005434/1.12, allocations: 2.616 MB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005875/1.121, allocations: 61.69 kB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/1.123, allocations: 1.329 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008475/1.123, allocations: 457.5 kB / 1.192 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/1.124, allocations: 145.6 kB / 1.192 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.124, allocations: 301.1 kB / 1.192 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/1.13, allocations: 1.015 MB / 1.193 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006224/1.137, allocations: 1.612 MB / 1.195 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007944/1.145, allocations: 2.302 MB / 1.197 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/1.145, allocations: 4 kB / 1.197 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02604/1.171, allocations: 4.267 MB / 1.201 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005959/1.171, allocations: 0.4902 MB / 1.202 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-05/1.171, allocations: 12 kB / 1.202 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004652/1.176, allocations: 1.173 MB / 1.203 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/1.179, allocations: 471.2 kB / 1.203 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004639/1.184, allocations: 2.398 MB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/1.189, allocations: 407.3 kB / 1.206 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/1.19, allocations: 107.8 kB / 1.206 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.19, allocations: 6.344 kB / 1.206 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02506/1.215, allocations: 3.981 MB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.06e-05/1.215, allocations: 12 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.219, allocations: 1.164 MB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.222, allocations: 471.2 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/1.227, allocations: 2.382 MB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.232, allocations: 369.4 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/1.232, allocations: 103.9 kB / 1.214 GB, free: 2.719 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.001897/1.234, allocations: 0.705 MB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008846/1.235, allocations: 292.5 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/1.244, allocations: 2.456 MB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.244, allocations: 16 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.244, allocations: 4 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00767/1.252, allocations: 2.076 MB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/1.276, allocations: 7.09 MB / 1.227 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/1.276, allocations: 12.09 kB / 1.227 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/1.278, allocations: 287.6 kB / 1.227 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003932/1.282, allocations: 1.028 MB / 1.228 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/1.282, allocations: 55.94 kB / 1.228 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/1.286, allocations: 2.163 MB / 1.23 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.286, allocations: 12.12 kB / 1.23 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.301, allocations: 3.841 MB / 1.234 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/1.303, allocations: 0.6573 MB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009307/1.304, allocations: 40 kB / 1.234 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00414/1.308, allocations: 297.4 kB / 1.235 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/1.309, allocations: 124.6 kB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.309, allocations: 71.92 kB / 1.235 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004113/1.313, allocations: 1.836 MB / 1.237 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.313, allocations: 0 / 1.237 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005795/1.319, allocations: 1.476 MB / 1.238 GB, free: 9.758 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.002131/1.321, allocations: 0.7949 MB / 1.239 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.335, allocations: 3.815 MB / 1.243 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/1.335, allocations: 5.438 kB / 1.243 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004256/1.339, allocations: 1.118 MB / 1.244 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/1.351, allocations: 1.567 MB / 1.245 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4588/1.81, allocations: 6.121 MB / 1.251 GB, free: 270.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.812, allocations: 1.723 MB / 1.253 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003741/1.816, allocations: 0.6503 MB / 1.254 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/1.817, allocations: 246.6 kB / 1.254 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.817, allocations: 1.875 kB / 1.254 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.1085/1.925, allocations: 76.21 MB / 1.328 GB, free: 216.5 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/jenkins/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