Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 390.5 MB / 398 MB, free: 10.93 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.002313/0.002313, allocations: 178.7 kB / 491.2 MB, free: 1.586 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.737/1.737, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 91.95 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.805e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.465, allocations: 430.5 MB / 1.633 GB, free: 0.625 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.466, allocations: 87.48 kB / 1.633 GB, free: 0.582 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.198/4.664, allocations: 0.9535 GB / 2.586 GB, free: 39.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/4.664, allocations: 0 / 2.586 GB, free: 39.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002489/4.664, allocations: 75.97 kB / 2.586 GB, free: 39.22 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.005855/4.67, allocations: 2.958 MB / 2.589 GB, free: 36.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/4.67, allocations: 8.031 kB / 2.589 GB, free: 36.19 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/4.672, allocations: 0.5893 MB / 2.59 GB, free: 35.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/4.678, allocations: 2.996 MB / 2.593 GB, free: 32.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/4.678, allocations: 222.6 kB / 2.593 GB, free: 32.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/4.678, allocations: 124 kB / 2.593 GB, free: 32.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00282/4.681, allocations: 1.788 MB / 2.595 GB, free: 30.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/4.684, allocations: 2.114 MB / 2.597 GB, free: 28.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/4.684, allocations: 7.938 kB / 2.597 GB, free: 28.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/4.684, allocations: 12 kB / 2.597 GB, free: 28.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/4.684, allocations: 95.45 kB / 2.597 GB, free: 28.02 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.0109/4.695, allocations: 11.04 MB / 2.608 GB, free: 16.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/4.696, allocations: 1.192 MB / 2.609 GB, free: 15.25 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/4.697, allocations: 0.6518 MB / 2.61 GB, free: 14.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/4.698, allocations: 1.339 MB / 2.611 GB, free: 12.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/4.699, allocations: 0.9591 MB / 2.612 GB, free: 11.92 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 3.367e-06/4.699, allocations: 0 / 2.612 GB, free: 11.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.002389/4.701, allocations: 1.442 MB / 2.613 GB, free: 10.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/4.702, allocations: 0.7811 MB / 2.614 GB, free: 9.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/4.704, allocations: 2.001 MB / 2.616 GB, free: 7.488 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/4.704, allocations: 29.7 kB / 2.616 GB, free: 7.453 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/4.705, allocations: 1.357 MB / 2.617 GB, free: 6.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/4.705, allocations: 362.7 kB / 2.618 GB, free: 5.711 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/4.705, allocations: 0 / 2.618 GB, free: 5.711 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/4.705, allocations: 361.9 kB / 2.618 GB, free: 5.352 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/4.706, allocations: 0.6053 MB / 2.619 GB, free: 4.746 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/4.707, allocations: 1.163 MB / 2.62 GB, free: 3.344 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/4.708, allocations: 0.746 MB / 2.62 GB, free: 2.602 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/4.708, allocations: 4 kB / 2.62 GB, free: 2.598 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002795/4.711, allocations: 1.819 MB / 2.622 GB, free: 0.7695 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001669/4.713, allocations: 4.254 MB / 2.626 GB, free: 12.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/4.713, allocations: 12 kB / 2.626 GB, free: 12.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/4.713, allocations: 16 kB / 2.626 GB, free: 12.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/4.715, allocations: 399.4 kB / 2.627 GB, free: 11.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/4.715, allocations: 23.92 kB / 2.627 GB, free: 11.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/4.717, allocations: 250.3 kB / 2.627 GB, free: 11.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/4.718, allocations: 71.97 kB / 2.627 GB, free: 11.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/4.718, allocations: 4 kB / 2.627 GB, free: 11.38 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002869/4.72, allocations: 1.546 MB / 2.629 GB, free: 9.828 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/4.721, allocations: 8 kB / 2.629 GB, free: 9.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/4.721, allocations: 23.95 kB / 2.629 GB, free: 9.797 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/4.722, allocations: 399.9 kB / 2.629 GB, free: 9.406 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/4.722, allocations: 19.94 kB / 2.629 GB, free: 9.387 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/4.724, allocations: 230.6 kB / 2.629 GB, free: 9.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/4.725, allocations: 71.97 kB / 2.629 GB, free: 9.09 MB / 1.167 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.000435/4.725, allocations: 148.9 kB / 2.63 GB, free: 8.938 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/4.726, allocations: 249 kB / 2.63 GB, free: 8.691 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/4.729, allocations: 1.66 MB / 2.631 GB, free: 7.008 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/4.729, allocations: 19.89 kB / 2.631 GB, free: 6.988 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/4.729, allocations: 4 kB / 2.631 GB, free: 6.984 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/4.731, allocations: 1.277 MB / 2.633 GB, free: 5.656 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/4.739, allocations: 5.145 MB / 2.638 GB, free: 384 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/4.739, allocations: 4 kB / 2.638 GB, free: 380 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/4.741, allocations: 268.2 kB / 2.638 GB, free: 112 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/4.741, allocations: 12 kB / 2.638 GB, free: 100 kB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/4.741, allocations: 27.97 kB / 2.638 GB, free: 72 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/4.741, allocations: 8 kB / 2.638 GB, free: 64 kB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/4.741, allocations: 7.938 kB / 2.638 GB, free: 56 kB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.898/5.639, allocations: 2.901 MB / 2.641 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/5.641, allocations: 0.5997 MB / 2.641 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/5.641, allocations: 16.25 kB / 2.641 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/5.643, allocations: 132.8 kB / 2.642 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/5.643, allocations: 115.2 kB / 2.642 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/5.643, allocations: 50.69 kB / 2.642 GB, free: 177.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002753/5.646, allocations: 1.545 MB / 2.643 GB, free: 177.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.646, allocations: 0.625 kB / 2.643 GB, free: 177.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00481/5.651, allocations: 1.502 MB / 2.645 GB, free: 177 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.002432/5.653, allocations: 1.211 MB / 2.646 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004059/5.657, allocations: 2.518 MB / 2.648 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/5.657, allocations: 3.609 kB / 2.648 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/5.659, allocations: 0.7308 MB / 2.649 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005306/5.664, allocations: 1.032 MB / 2.65 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/5.671, allocations: 3.631 MB / 2.654 GB, free: 175.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/5.673, allocations: 1.82 MB / 2.655 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004419/5.677, allocations: 0.8934 MB / 2.656 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/5.678, allocations: 150.2 kB / 2.656 GB, free: 174.8 MB / 1.167 GB Notification: Performance of SimCode: time 7.21e-07/5.678, allocations: 0.875 kB / 2.656 GB, free: 174.8 MB / 1.167 GB Notification: Performance of Templates: time 0.09808/5.776, allocations: 50.41 MB / 2.706 GB, free: 173.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches