Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001172, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001396/0.001396, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5442, allocations: 153.6 MB / 1.021 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1061/0.6504, allocations: 109.4 MB / 1.128 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.6809, allocations: 21.39 MB / 1.149 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004464/0.6854, allocations: 119.2 kB / 1.149 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005206/0.6906, allocations: 1.461 MB / 1.15 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.7042, allocations: 4.186 MB / 1.154 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009961/0.7142, allocations: 3.135 MB / 1.157 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009498/0.7237, allocations: 5.102 MB / 1.162 GB, free: 160 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003705/0.7274, allocations: 2.278 MB / 1.164 GB, free: 13.83 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.7328, allocations: 2.429 MB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.7358, allocations: 1.583 MB / 1.168 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000598/0.7365, allocations: 132 kB / 1.168 GB, free: 9.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/0.7415, allocations: 1.74 MB / 1.17 GB, free: 7.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008307/0.7423, allocations: 0.5719 MB / 1.171 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.7436, allocations: 0.7305 MB / 1.171 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.7496, allocations: 4.576 MB / 1.176 GB, free: 2.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7496, allocations: 0 / 1.176 GB, free: 2.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7496, allocations: 0 / 1.176 GB, free: 2.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000122/0.7498, allocations: 0 / 1.176 GB, free: 2.035 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006926/0.7567, allocations: 3.366 MB / 1.179 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7568, allocations: 19.92 kB / 1.179 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.768, allocations: 1.455 MB / 1.181 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/0.7731, allocations: 2.713 MB / 1.183 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.7734, allocations: 263.9 kB / 1.184 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.7738, allocations: 240 kB / 1.184 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007754/0.7816, allocations: 3.201 MB / 1.187 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/0.7817, allocations: 7.938 kB / 1.187 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.782, allocations: 108 kB / 1.187 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/0.7821, allocations: 63.94 kB / 1.187 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009602/0.7917, allocations: 2.889 MB / 1.19 GB, free: 3.324 MB / 0.9356 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.01929/0.811, allocations: 13.52 MB / 1.203 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.8155, allocations: 1.536 MB / 1.205 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.8174, allocations: 1.778 MB / 1.206 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003781/0.8212, allocations: 1.232 MB / 1.208 GB, free: 184 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/0.8212, allocations: 0.7656 kB / 1.208 GB, free: 184 kB / 0.9512 GB Notification: Performance of matching and sorting (n=130): time 0.04148/0.8627, allocations: 5.994 MB / 1.213 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002792/0.863, allocations: 0.5727 MB / 1.214 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.8674, allocations: 2.583 MB / 1.216 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.8678, allocations: 65.7 kB / 1.217 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.869, allocations: 1.347 MB / 1.218 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.8696, allocations: 453.6 kB / 1.218 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.8697, allocations: 36 kB / 1.218 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8699, allocations: 373.9 kB / 1.219 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.8737, allocations: 1.019 MB / 1.22 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.8779, allocations: 1.599 MB / 1.221 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.8818, allocations: 1.154 MB / 1.222 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8819, allocations: 0 / 1.222 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02228/0.9041, allocations: 4.148 MB / 1.226 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/0.9058, allocations: 5.022 MB / 1.231 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.9058, allocations: 15.95 kB / 1.231 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.9092, allocations: 0.9486 MB / 1.232 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/0.9122, allocations: 0.5109 MB / 1.233 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.9156, allocations: 1.989 MB / 1.235 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/0.9206, allocations: 0.5247 MB / 1.235 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.9209, allocations: 112 kB / 1.235 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.9209, allocations: 4 kB / 1.235 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02089/0.9418, allocations: 3.863 MB / 1.239 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.9419, allocations: 12 kB / 1.239 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.9451, allocations: 0.9571 MB / 1.24 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.9479, allocations: 0.5069 MB / 1.241 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.9512, allocations: 1.989 MB / 1.242 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/0.9556, allocations: 477.7 kB / 1.243 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.9559, allocations: 103.9 kB / 1.243 GB, free: 10.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001378/0.9572, allocations: 0.6968 MB / 1.244 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.9578, allocations: 268.7 kB / 1.244 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9691, allocations: 2.591 MB / 1.247 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.9691, allocations: 16 kB / 1.247 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.9691, allocations: 0 / 1.247 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/0.9794, allocations: 2.185 MB / 1.249 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4939/1.473, allocations: 7.612 MB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.473, allocations: 7.406 kB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.475, allocations: 299.7 kB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.479, allocations: 0.9406 MB / 1.257 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/1.479, allocations: 54.31 kB / 1.257 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/1.482, allocations: 1.979 MB / 1.259 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.482, allocations: 12.25 kB / 1.259 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.495, allocations: 4.446 MB / 1.264 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.497, allocations: 0.6876 MB / 1.264 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/1.497, allocations: 44.69 kB / 1.264 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/1.501, allocations: 296.8 kB / 1.265 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/1.501, allocations: 122.2 kB / 1.265 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.501, allocations: 73.66 kB / 1.265 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003589/1.505, allocations: 1.819 MB / 1.267 GB, free: 215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.505, allocations: 1.281 kB / 1.267 GB, free: 215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004932/1.51, allocations: 1.702 MB / 1.268 GB, free: 214.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/1.512, allocations: 0.8174 MB / 1.269 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.524, allocations: 3.761 MB / 1.273 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.524, allocations: 6.031 kB / 1.273 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005803/1.53, allocations: 1.107 MB / 1.274 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/1.54, allocations: 1.368 MB / 1.275 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.556, allocations: 5.962 MB / 1.281 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.557, allocations: 1.775 MB / 1.283 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00523/1.562, allocations: 0.6871 MB / 1.283 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008892/1.563, allocations: 240 kB / 1.284 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/1.563, allocations: 0 / 1.284 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1025/1.666, allocations: 68.18 MB / 1.35 GB, free: 147 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches