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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007957/0.007957, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.407/2.407, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6313, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1109/0.7422, allocations: 113 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03049/0.7727, allocations: 20.75 MB / 1.086 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.7772, allocations: 99.38 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.7814, allocations: 1.383 MB / 1.087 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.7925, allocations: 3.671 MB / 1.091 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007081/0.7996, allocations: 2.627 MB / 1.093 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.8122, allocations: 10.41 MB / 1.103 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003992/0.8163, allocations: 2.214 MB / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.8217, allocations: 2.473 MB / 1.108 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.8254, allocations: 2.248 MB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005463/0.826, allocations: 136 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.8304, allocations: 1.816 MB / 1.112 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009075/0.8314, allocations: 0.7392 MB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/0.8338, allocations: 1.642 MB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007722/0.8415, allocations: 5.268 MB / 1.12 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8416, allocations: 4 kB / 1.12 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8416, allocations: 0 / 1.12 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001107/0.8417, allocations: 0 / 1.12 GB, free: 6.324 MB / 0.8731 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.007426/0.8492, allocations: 3.225 MB / 1.123 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8492, allocations: 8.031 kB / 1.123 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.8524, allocations: 0.6518 MB / 1.123 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.8572, allocations: 2.581 MB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.8575, allocations: 306.5 kB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.8579, allocations: 204 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.8631, allocations: 2.603 MB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.8632, allocations: 11.88 kB / 1.129 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.8635, allocations: 95.94 kB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/0.8635, allocations: 55.98 kB / 1.129 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005009/0.8686, allocations: 2.293 MB / 1.131 GB, free: 10 MB / 0.8887 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.01563/0.8842, allocations: 11.49 MB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.8873, allocations: 1.348 MB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.8892, allocations: 0.8523 MB / 1.145 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.8903, allocations: 1.327 MB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002361/0.8927, allocations: 1.103 MB / 1.147 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=115): time 3.757e-06/0.8927, allocations: 0 / 1.147 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of matching and sorting (n=115): time 0.006442/0.8992, allocations: 2.496 MB / 1.149 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.8994, allocations: 483.7 kB / 1.15 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/0.9046, allocations: 2.674 MB / 1.153 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.9049, allocations: 49.7 kB / 1.153 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.9062, allocations: 1.315 MB / 1.154 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.9068, allocations: 410.2 kB / 1.154 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.9071, allocations: 129.6 kB / 1.154 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.9073, allocations: 301.1 kB / 1.155 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.9093, allocations: 0.8081 MB / 1.155 GB, free: 236 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.9117, allocations: 1.344 MB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.9161, allocations: 1.934 MB / 1.159 GB, free: 12.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.9161, allocations: 7.938 kB / 1.159 GB, free: 12.58 MB / 0.92 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006092/0.9222, allocations: 2.327 MB / 1.161 GB, free: 10.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.9225, allocations: 433.8 kB / 1.161 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.9226, allocations: 8 kB / 1.161 GB, free: 9.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.9226, allocations: 23.94 kB / 1.161 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.9245, allocations: 423.3 kB / 1.162 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.9246, allocations: 27.92 kB / 1.162 GB, free: 9.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.9274, allocations: 325.8 kB / 1.162 GB, free: 8.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.9276, allocations: 71.97 kB / 1.162 GB, free: 8.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.9276, allocations: 4 kB / 1.162 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004462/0.9321, allocations: 2.058 MB / 1.164 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.9321, allocations: 8.938 kB / 1.164 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9321, allocations: 20 kB / 1.164 GB, free: 6.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.934, allocations: 431.3 kB / 1.165 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/0.934, allocations: 23.94 kB / 1.165 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.9368, allocations: 306.1 kB / 1.165 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.937, allocations: 63.98 kB / 1.165 GB, free: 5.898 MB / 0.92 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 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001567/0.9386, allocations: 0.6957 MB / 1.166 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/0.9395, allocations: 284.5 kB / 1.166 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.9444, allocations: 2.174 MB / 1.168 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.9445, allocations: 12 kB / 1.168 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9445, allocations: 4 kB / 1.168 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/0.9482, allocations: 1.719 MB / 1.17 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.9583, allocations: 5.295 MB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.9583, allocations: 8 kB / 1.175 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.9598, allocations: 288.1 kB / 1.175 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/0.9598, allocations: 8 kB / 1.175 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.96, allocations: 43.91 kB / 1.175 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.96, allocations: 12 kB / 1.175 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.96, allocations: 7.938 kB / 1.175 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006558/0.9666, allocations: 3.199 MB / 1.178 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.968, allocations: 0.626 MB / 1.179 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006447/0.9687, allocations: 35.94 kB / 1.179 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/0.9711, allocations: 195.3 kB / 1.179 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.9714, allocations: 120.8 kB / 1.179 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.9716, allocations: 59.95 kB / 1.179 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003406/0.975, allocations: 1.857 MB / 1.181 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.975, allocations: 0 / 1.181 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004199/0.9792, allocations: 1.431 MB / 1.183 GB, free: 3.504 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.9807, allocations: 0.6471 MB / 1.183 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007171/0.9879, allocations: 3.117 MB / 1.186 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.9879, allocations: 4.672 kB / 1.186 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.9902, allocations: 0.9679 MB / 1.187 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/1.001, allocations: 1.398 MB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/1.01, allocations: 5.926 MB / 1.194 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.011, allocations: 1.759 MB / 1.196 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003339/1.015, allocations: 0.7133 MB / 1.197 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008639/1.016, allocations: 231.4 kB / 1.197 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/1.016, allocations: 0 / 1.197 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of Templates: time 0.5595/1.575, allocations: 57.42 MB / 1.253 GB, free: 272.8 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches