Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 175.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007946/0.0007947, allocations: 90.52 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.558e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.83, allocations: 410.5 MB / 1.286 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.83, allocations: 91.28 kB / 1.286 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.114/4.944, allocations: 0.9052 GB / 2.191 GB, free: 51.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.905e-06/4.944, allocations: 0 / 2.191 GB, free: 51.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005572/4.945, allocations: 79.53 kB / 2.191 GB, free: 51.75 MB / 0.8698 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.01053/4.955, allocations: 2.925 MB / 2.194 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/4.955, allocations: 12.03 kB / 2.194 GB, free: 48.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/4.959, allocations: 0.5854 MB / 2.195 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008727/4.968, allocations: 2.927 MB / 2.198 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/4.968, allocations: 226.7 kB / 2.198 GB, free: 45.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/4.969, allocations: 124 kB / 2.198 GB, free: 44.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003447/4.972, allocations: 1.788 MB / 2.2 GB, free: 43.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/4.976, allocations: 2.079 MB / 2.202 GB, free: 40.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/4.976, allocations: 0 / 2.202 GB, free: 40.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/4.976, allocations: 8 kB / 2.202 GB, free: 40.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/4.976, allocations: 59.94 kB / 2.202 GB, free: 40.82 MB / 0.8698 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.01449/4.991, allocations: 11.01 MB / 2.213 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/4.992, allocations: 1.204 MB / 2.214 GB, free: 28.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007101/4.993, allocations: 0.6478 MB / 2.214 GB, free: 27.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/4.994, allocations: 1.335 MB / 2.216 GB, free: 25.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/4.995, allocations: 0.9188 MB / 2.217 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 4.488e-06/4.995, allocations: 0 / 2.217 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.002788/4.998, allocations: 1.438 MB / 2.218 GB, free: 23.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/4.998, allocations: 0.681 MB / 2.219 GB, free: 22.61 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/5, allocations: 1.985 MB / 2.221 GB, free: 20.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/5.001, allocations: 37.64 kB / 2.221 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/5.002, allocations: 1.352 MB / 2.222 GB, free: 19.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/5.002, allocations: 354.8 kB / 2.222 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/5.002, allocations: 0 / 2.222 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000107/5.002, allocations: 369.9 kB / 2.223 GB, free: 18.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/5.003, allocations: 0.6015 MB / 2.223 GB, free: 17.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/5.004, allocations: 1.182 MB / 2.224 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/5.006, allocations: 0.7501 MB / 2.225 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/5.006, allocations: 4 kB / 2.225 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003091/5.009, allocations: 1.822 MB / 2.227 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009174/5.01, allocations: 4.252 MB / 2.231 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/5.01, allocations: 8 kB / 2.231 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.309e-05/5.01, allocations: 20 kB / 2.231 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/5.011, allocations: 391.4 kB / 2.231 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/5.011, allocations: 27.92 kB / 2.232 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/5.014, allocations: 262.2 kB / 2.232 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/5.014, allocations: 63.98 kB / 2.232 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/5.014, allocations: 4 kB / 2.232 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002493/5.017, allocations: 1.546 MB / 2.233 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/5.017, allocations: 8 kB / 2.233 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/5.017, allocations: 23.94 kB / 2.233 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/5.018, allocations: 395.9 kB / 2.234 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/5.018, allocations: 27.89 kB / 2.234 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/5.021, allocations: 218.6 kB / 2.234 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/5.021, allocations: 67.97 kB / 2.234 GB, free: 6.195 MB / 0.8698 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.0004524/5.022, allocations: 144.9 kB / 2.234 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008097/5.022, allocations: 256.4 kB / 2.234 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/5.025, allocations: 1.651 MB / 2.236 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/5.026, allocations: 16 kB / 2.236 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/5.026, allocations: 7.953 kB / 2.236 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001776/5.027, allocations: 1.281 MB / 2.237 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009942/5.037, allocations: 5.106 MB / 2.242 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/5.037, allocations: 11.94 kB / 2.242 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/5.039, allocations: 268.2 kB / 2.243 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-05/5.039, allocations: 15.94 kB / 2.243 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/5.039, allocations: 15.98 kB / 2.243 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/5.039, allocations: 12 kB / 2.243 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/5.039, allocations: 11.94 kB / 2.243 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/5.044, allocations: 2.904 MB / 2.245 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/5.047, allocations: 0.5835 MB / 2.246 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/5.048, allocations: 11.7 kB / 2.246 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/5.051, allocations: 135.6 kB / 2.246 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/5.051, allocations: 112.5 kB / 2.246 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/5.051, allocations: 47.95 kB / 2.246 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004632/5.056, allocations: 1.54 MB / 2.248 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.01e-07/5.056, allocations: 0 / 2.248 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008381/5.064, allocations: 1.484 MB / 2.249 GB, free: 6.156 MB / 0.8855 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.003621/5.068, allocations: 1.232 MB / 2.25 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006728/5.075, allocations: 2.519 MB / 2.253 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/5.075, allocations: 4 kB / 2.253 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/5.077, allocations: 0.7276 MB / 2.254 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008343/5.085, allocations: 1.045 MB / 2.255 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7076/5.793, allocations: 3.608 MB / 2.258 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/5.795, allocations: 1.812 MB / 2.26 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005458/5.801, allocations: 0.8815 MB / 2.261 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/5.801, allocations: 152.3 kB / 2.261 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.794e-06/5.802, allocations: 0 / 2.261 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.1164/5.918, allocations: 50.08 MB / 2.31 GB, free: 112.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches