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.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.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.0009079/0.0009078, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009605/0.0009606, allocations: 182.7 kB / 16.92 MB, free: 6.926 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.309 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.443/2.443, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7068, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1191/0.8259, allocations: 113 MB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03146/0.8574, allocations: 20.74 MB / 1.086 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005696/0.8632, allocations: 99.38 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005577/0.8688, allocations: 1.379 MB / 1.088 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.8817, allocations: 3.685 MB / 1.091 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008454/0.8902, allocations: 2.628 MB / 1.094 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.9042, allocations: 10.41 MB / 1.104 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/0.9094, allocations: 2.218 MB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006668/0.9161, allocations: 2.461 MB / 1.109 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004806/0.921, allocations: 2.252 MB / 1.111 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.9222, allocations: 136 kB / 1.111 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006116/0.9284, allocations: 1.816 MB / 1.113 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.9302, allocations: 0.7392 MB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00429/0.9345, allocations: 1.646 MB / 1.115 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007128/0.9417, allocations: 4.204 MB / 1.119 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.9417, allocations: 4 kB / 1.119 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9417, allocations: 0 / 1.119 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001821/0.9419, allocations: 0 / 1.119 GB, free: 7.422 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.00841/0.9503, allocations: 3.229 MB / 1.122 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9504, allocations: 11.97 kB / 1.122 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.9539, allocations: 0.6518 MB / 1.123 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/0.9602, allocations: 2.587 MB / 1.126 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005285/0.9607, allocations: 302.7 kB / 1.126 GB, free: 488 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000765/0.9615, allocations: 204 kB / 1.126 GB, free: 284 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.9686, allocations: 2.603 MB / 1.129 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.399e-05/0.9688, allocations: 7.938 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005202/0.9693, allocations: 91.94 kB / 1.129 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.9694, allocations: 55.98 kB / 1.129 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006093/0.9755, allocations: 2.297 MB / 1.131 GB, free: 11.1 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.02052/0.9961, allocations: 11.49 MB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.9995, allocations: 1.348 MB / 1.143 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.002, allocations: 0.847 MB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.003, allocations: 1.327 MB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002633/1.005, allocations: 1.103 MB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=115): time 5.46e-06/1.005, allocations: 0 / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=115): time 0.006698/1.012, allocations: 2.496 MB / 1.149 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/1.012, allocations: 483.7 kB / 1.15 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/1.018, allocations: 2.674 MB / 1.152 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004841/1.018, allocations: 53.7 kB / 1.152 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.02, allocations: 1.315 MB / 1.154 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007462/1.021, allocations: 406.2 kB / 1.154 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/1.021, allocations: 129.6 kB / 1.154 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.021, allocations: 305.1 kB / 1.154 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.023, allocations: 0.8081 MB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.026, allocations: 1.344 MB / 1.156 GB, free: 15.76 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/1.03, allocations: 1.938 MB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.03, allocations: 4 kB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005787/1.036, allocations: 2.327 MB / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003703/1.036, allocations: 426.1 kB / 1.161 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.036, allocations: 11.98 kB / 1.161 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.037e-05/1.036, allocations: 23.94 kB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/1.038, allocations: 423.3 kB / 1.161 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-05/1.038, allocations: 27.92 kB / 1.161 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.041, allocations: 325.8 kB / 1.162 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/1.041, allocations: 71.97 kB / 1.162 GB, free: 9.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.041, allocations: 5.562 kB / 1.162 GB, free: 9.895 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004781/1.046, allocations: 2.059 MB / 1.164 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.046, allocations: 12.19 kB / 1.164 GB, free: 7.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.046, allocations: 20 kB / 1.164 GB, free: 7.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.048, allocations: 427.3 kB / 1.164 GB, free: 7.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/1.048, allocations: 31.91 kB / 1.164 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.051, allocations: 308.6 kB / 1.165 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/1.051, allocations: 63.98 kB / 1.165 GB, free: 6.984 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.001696/1.053, allocations: 0.6996 MB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009181/1.054, allocations: 280.6 kB / 1.166 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/1.059, allocations: 2.173 MB / 1.168 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.059, allocations: 12 kB / 1.168 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.059, allocations: 4 kB / 1.168 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003687/1.063, allocations: 1.727 MB / 1.169 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.074, allocations: 5.288 MB / 1.175 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.074, allocations: 8 kB / 1.175 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.076, allocations: 288.3 kB / 1.175 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.281e-05/1.076, allocations: 8 kB / 1.175 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.076, allocations: 43.91 kB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/1.076, allocations: 12 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.076, allocations: 11.94 kB / 1.175 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007231/1.083, allocations: 3.187 MB / 1.178 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.086, allocations: 0.6299 MB / 1.179 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009822/1.087, allocations: 39.94 kB / 1.179 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.089, allocations: 187.5 kB / 1.179 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/1.09, allocations: 116.8 kB / 1.179 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.09, allocations: 59.94 kB / 1.179 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003871/1.094, allocations: 1.857 MB / 1.181 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/1.094, allocations: 0 / 1.181 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005579/1.099, allocations: 1.431 MB / 1.182 GB, free: 4.598 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.001875/1.101, allocations: 0.6458 MB / 1.183 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007399/1.109, allocations: 3.12 MB / 1.186 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.109, allocations: 0.6719 kB / 1.186 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.111, allocations: 0.9251 MB / 1.187 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/1.122, allocations: 1.398 MB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.133, allocations: 5.998 MB / 1.194 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/1.135, allocations: 1.759 MB / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.136, allocations: 251.3 kB / 1.196 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/1.136, allocations: 0 / 1.196 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.07631/1.213, allocations: 48.78 MB / 1.244 GB, free: 5.965 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/jenkins1/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