Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_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_9_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.00128/0.00128, allocations: 100.3 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.001488/0.001488, allocations: 177.3 kB / 15.94 MB, free: 228 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.421/2.421, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7059, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1107/0.8167, allocations: 109.4 MB / 1.06 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03137/0.8481, allocations: 21.38 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.8523, allocations: 119.2 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.8574, allocations: 1.449 MB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.8705, allocations: 4.19 MB / 1.087 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009069/0.8796, allocations: 3.132 MB / 1.09 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01136/0.891, allocations: 5.102 MB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.8948, allocations: 2.278 MB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.9008, allocations: 2.433 MB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.9048, allocations: 1.583 MB / 1.101 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006846/0.9055, allocations: 132 kB / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006153/0.9116, allocations: 1.736 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.9128, allocations: 0.5719 MB / 1.103 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.9145, allocations: 0.7383 MB / 1.104 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.9211, allocations: 4.576 MB / 1.109 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.9211, allocations: 3.938 kB / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9211, allocations: 0 / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.976e-05/0.9212, allocations: 0 / 1.109 GB, free: 0.9648 MB / 0.8575 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.008192/0.9294, allocations: 3.362 MB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9295, allocations: 12.03 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.9402, allocations: 1.455 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.9456, allocations: 2.725 MB / 1.116 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.9458, allocations: 248 kB / 1.116 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.9463, allocations: 244 kB / 1.116 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/0.9538, allocations: 3.197 MB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.9539, allocations: 15.94 kB / 1.12 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.9542, allocations: 96 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/0.9543, allocations: 75.94 kB / 1.12 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.965, allocations: 2.882 MB / 1.123 GB, free: 2.27 MB / 0.8731 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.0225/0.9875, allocations: 13.53 MB / 1.136 GB, free: 4.113 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/0.9919, allocations: 1.527 MB / 1.137 GB, free: 2.582 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.9939, allocations: 1.785 MB / 1.139 GB, free: 420 kB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003917/0.9978, allocations: 1.236 MB / 1.14 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=130): time 4.458e-06/0.9979, allocations: 1.859 kB / 1.14 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130): time 0.0396/1.037, allocations: 5.974 MB / 1.146 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002709/1.038, allocations: 0.5844 MB / 1.147 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.042, allocations: 2.587 MB / 1.149 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004154/1.042, allocations: 65.7 kB / 1.149 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.044, allocations: 1.336 MB / 1.151 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/1.044, allocations: 461.5 kB / 1.151 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.044, allocations: 39.94 kB / 1.151 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.045, allocations: 373.9 kB / 1.151 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/1.048, allocations: 1.019 MB / 1.152 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/1.052, allocations: 1.603 MB / 1.154 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/1.056, allocations: 1.155 MB / 1.155 GB, free: 15.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.056, allocations: 4 kB / 1.155 GB, free: 15.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02167/1.078, allocations: 4.14 MB / 1.159 GB, free: 11.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001983/1.08, allocations: 5.028 MB / 1.164 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.08, allocations: 12 kB / 1.164 GB, free: 5.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/1.083, allocations: 0.9549 MB / 1.165 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/1.086, allocations: 0.5109 MB / 1.165 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/1.09, allocations: 1.989 MB / 1.167 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005251/1.095, allocations: 0.5295 MB / 1.168 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.095, allocations: 103.9 kB / 1.168 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.095, allocations: 7.938 kB / 1.168 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02067/1.116, allocations: 3.859 MB / 1.172 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/1.116, allocations: 12.94 kB / 1.172 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/1.119, allocations: 0.9582 MB / 1.173 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/1.122, allocations: 0.5031 MB / 1.173 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/1.125, allocations: 1.994 MB / 1.175 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.129, allocations: 474 kB / 1.176 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.13, allocations: 99.91 kB / 1.176 GB, free: 9.719 MB / 0.9356 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.001457/1.131, allocations: 0.7048 MB / 1.176 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/1.132, allocations: 272.7 kB / 1.177 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.142, allocations: 2.583 MB / 1.179 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.142, allocations: 16 kB / 1.179 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.142, allocations: 0 / 1.179 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009725/1.152, allocations: 2.189 MB / 1.181 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02664/1.179, allocations: 7.607 MB / 1.189 GB, free: 12.08 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.179, allocations: 4 kB / 1.189 GB, free: 12.08 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.181, allocations: 300.2 kB / 1.189 GB, free: 11.79 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/1.184, allocations: 0.9378 MB / 1.19 GB, free: 10.85 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.184, allocations: 55.94 kB / 1.19 GB, free: 10.79 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/1.187, allocations: 1.978 MB / 1.192 GB, free: 8.766 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.187, allocations: 12.06 kB / 1.192 GB, free: 8.754 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.199, allocations: 4.466 MB / 1.196 GB, free: 3.82 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.201, allocations: 0.6924 MB / 1.197 GB, free: 3.105 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/1.202, allocations: 39.98 kB / 1.197 GB, free: 3.066 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.205, allocations: 293.8 kB / 1.197 GB, free: 2.781 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.205, allocations: 120.7 kB / 1.197 GB, free: 2.664 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.205, allocations: 71.92 kB / 1.198 GB, free: 2.594 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.002858/1.208, allocations: 1.825 MB / 1.199 GB, free: 0.7656 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.21e-07/1.208, allocations: 0 / 1.199 GB, free: 0.7656 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.004567/1.213, allocations: 1.703 MB / 1.201 GB, free: 15.05 MB / 0.9669 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.001594/1.214, allocations: 0.8233 MB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.227, allocations: 3.759 MB / 1.205 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.227, allocations: 4.438 kB / 1.205 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/1.23, allocations: 1.103 MB / 1.207 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006768/1.237, allocations: 1.371 MB / 1.208 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.249, allocations: 5.969 MB / 1.214 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.25, allocations: 1.773 MB / 1.215 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003447/1.253, allocations: 0.6903 MB / 1.216 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/1.254, allocations: 231.3 kB / 1.216 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.064e-06/1.254, allocations: 0 / 1.216 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.6349/1.889, allocations: 68.19 MB / 1.283 GB, free: 255.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches