Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 196.4 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008951/0.0008949, allocations: 99.58 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.782e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.383, allocations: 429.7 MB / 1.626 GB, free: 9.09 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.384, allocations: 91 kB / 1.626 GB, free: 9.043 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.195/4.579, allocations: 0.9535 GB / 2.579 GB, free: 53.62 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.182e-06/4.579, allocations: 0 / 2.579 GB, free: 53.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003914/4.579, allocations: 79.91 kB / 2.579 GB, free: 53.54 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.007685/4.587, allocations: 2.958 MB / 2.582 GB, free: 50.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/4.587, allocations: 12.03 kB / 2.582 GB, free: 50.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/4.59, allocations: 0.5815 MB / 2.583 GB, free: 49.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006355/4.596, allocations: 2.996 MB / 2.586 GB, free: 46.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/4.596, allocations: 230.5 kB / 2.586 GB, free: 46.61 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004968/4.597, allocations: 116 kB / 2.586 GB, free: 46.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003347/4.6, allocations: 1.788 MB / 2.588 GB, free: 44.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/4.604, allocations: 2.118 MB / 2.59 GB, free: 42.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/4.604, allocations: 7.938 kB / 2.59 GB, free: 42.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/4.604, allocations: 4 kB / 2.59 GB, free: 42.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/4.604, allocations: 87.56 kB / 2.59 GB, free: 42.36 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.0142/4.619, allocations: 11.04 MB / 2.601 GB, free: 30.83 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/4.62, allocations: 1.209 MB / 2.602 GB, free: 29.57 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/4.621, allocations: 0.6495 MB / 2.602 GB, free: 28.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008077/4.622, allocations: 1.331 MB / 2.604 GB, free: 27.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/4.623, allocations: 0.9551 MB / 2.605 GB, free: 26.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 4.529e-06/4.623, allocations: 0 / 2.605 GB, free: 26.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.003173/4.626, allocations: 1.446 MB / 2.606 GB, free: 24.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/4.626, allocations: 0.7776 MB / 2.607 GB, free: 23.83 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/4.63, allocations: 2.005 MB / 2.609 GB, free: 21.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/4.63, allocations: 29.7 kB / 2.609 GB, free: 21.78 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/4.632, allocations: 1.356 MB / 2.61 GB, free: 20.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/4.632, allocations: 366.6 kB / 2.611 GB, free: 20.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/4.632, allocations: 0 / 2.611 GB, free: 20.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/4.632, allocations: 365.9 kB / 2.611 GB, free: 19.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008098/4.633, allocations: 0.6092 MB / 2.611 GB, free: 19.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/4.634, allocations: 1.159 MB / 2.613 GB, free: 17.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/4.635, allocations: 0.7383 MB / 2.613 GB, free: 16.93 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/4.635, allocations: 4 kB / 2.613 GB, free: 16.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003228/4.639, allocations: 1.822 MB / 2.615 GB, free: 15.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007716/4.639, allocations: 4.255 MB / 2.619 GB, free: 10.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/4.639, allocations: 16 kB / 2.619 GB, free: 10.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.68e-05/4.64, allocations: 20 kB / 2.619 GB, free: 10.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/4.641, allocations: 395.4 kB / 2.62 GB, free: 10.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/4.641, allocations: 19.94 kB / 2.62 GB, free: 10.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/4.644, allocations: 266.2 kB / 2.62 GB, free: 9.754 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/4.644, allocations: 71.97 kB / 2.62 GB, free: 9.684 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/4.644, allocations: 4 kB / 2.62 GB, free: 9.68 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002402/4.646, allocations: 1.538 MB / 2.622 GB, free: 8.141 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/4.646, allocations: 12 kB / 2.622 GB, free: 8.129 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/4.646, allocations: 16 kB / 2.622 GB, free: 8.113 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/4.648, allocations: 395.6 kB / 2.622 GB, free: 7.727 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/4.648, allocations: 23.92 kB / 2.622 GB, free: 7.703 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/4.65, allocations: 222.6 kB / 2.622 GB, free: 7.484 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/4.65, allocations: 71.97 kB / 2.622 GB, free: 7.414 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004019/4.651, allocations: 152.9 kB / 2.622 GB, free: 7.258 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/4.651, allocations: 252.9 kB / 2.623 GB, free: 7.008 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/4.654, allocations: 1.652 MB / 2.624 GB, free: 5.336 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/4.654, allocations: 12 kB / 2.624 GB, free: 5.324 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/4.654, allocations: 12 kB / 2.624 GB, free: 5.312 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/4.656, allocations: 1.289 MB / 2.626 GB, free: 3.973 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008018/4.664, allocations: 5.122 MB / 2.631 GB, free: 14.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/4.664, allocations: 4 kB / 2.631 GB, free: 14.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/4.665, allocations: 268.2 kB / 2.631 GB, free: 14.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/4.665, allocations: 8 kB / 2.631 GB, free: 14.43 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/4.666, allocations: 23.94 kB / 2.631 GB, free: 14.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/4.666, allocations: 15.92 kB / 2.631 GB, free: 14.39 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/4.666, allocations: 4 kB / 2.631 GB, free: 14.39 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004482/4.67, allocations: 2.922 MB / 2.634 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/4.672, allocations: 0.5992 MB / 2.634 GB, free: 10.65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007852/4.673, allocations: 8 kB / 2.634 GB, free: 10.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/4.675, allocations: 139.7 kB / 2.634 GB, free: 10.51 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/4.675, allocations: 104.5 kB / 2.634 GB, free: 10.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/4.675, allocations: 55.95 kB / 2.635 GB, free: 10.35 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003563/4.679, allocations: 1.545 MB / 2.636 GB, free: 8.801 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/4.679, allocations: 0 / 2.636 GB, free: 8.801 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007084/4.686, allocations: 1.5 MB / 2.638 GB, free: 7.297 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/4.689, allocations: 1.229 MB / 2.639 GB, free: 6.078 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004898/4.694, allocations: 2.52 MB / 2.641 GB, free: 3.539 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/4.694, allocations: 5.359 kB / 2.641 GB, free: 3.535 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/4.695, allocations: 0.7335 MB / 2.642 GB, free: 2.801 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/4.701, allocations: 1.036 MB / 2.643 GB, free: 1.773 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6371/5.339, allocations: 3.615 MB / 2.646 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/5.34, allocations: 1.814 MB / 2.648 GB, free: 180.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004821/5.345, allocations: 0.903 MB / 2.649 GB, free: 180.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/5.346, allocations: 153.6 kB / 2.649 GB, free: 180.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/5.346, allocations: 0.875 kB / 2.649 GB, free: 180.6 MB / 1.167 GB Notification: Performance of Templates: time 0.09083/5.437, allocations: 50.39 MB / 2.698 GB, free: 179.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches