Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 103.9 kB / 16.27 MB, free: 6.355 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.001587/0.001587, allocations: 193.3 kB / 17.2 MB, free: 5.953 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.1 MB / 0.7111 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 59.75 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3224, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.6073/0.9297, allocations: 62.63 MB / 1.079 GB, free: 27.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.9488, allocations: 13.66 MB / 1.092 GB, free: 27.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.9522, allocations: 65.72 kB / 1.093 GB, free: 27.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.9558, allocations: 0.9541 MB / 1.093 GB, free: 27.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.9644, allocations: 2.417 MB / 1.096 GB, free: 27.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.9697, allocations: 1.598 MB / 1.097 GB, free: 27.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007967/0.9777, allocations: 4.285 MB / 1.102 GB, free: 25.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.9811, allocations: 1.414 MB / 1.103 GB, free: 24.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00504/0.9861, allocations: 1.653 MB / 1.105 GB, free: 23.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.9894, allocations: 1.294 MB / 1.106 GB, free: 23.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.9905, allocations: 176.3 kB / 1.106 GB, free: 23.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005256/0.9958, allocations: 1.428 MB / 1.107 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.997, allocations: 0.5071 MB / 1.108 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003369/1, allocations: 1.004 MB / 1.109 GB, free: 22.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008737/1.009, allocations: 3.135 MB / 1.112 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.009, allocations: 0 / 1.112 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.515e-06/1.009, allocations: 1.094 kB / 1.112 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001417/1.009, allocations: 0 / 1.112 GB, free: 20.97 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.008203/1.018, allocations: 2.34 MB / 1.114 GB, free: 19.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.018, allocations: 11.3 kB / 1.114 GB, free: 19.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/1.022, allocations: 0.5307 MB / 1.115 GB, free: 19.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/1.026, allocations: 1.416 MB / 1.116 GB, free: 18.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/1.026, allocations: 163.3 kB / 1.116 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/1.026, allocations: 108.7 kB / 1.116 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/1.031, allocations: 1.561 MB / 1.118 GB, free: 17.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/1.031, allocations: 5.953 kB / 1.118 GB, free: 17.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/1.032, allocations: 44.16 kB / 1.118 GB, free: 17.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/1.032, allocations: 33.77 kB / 1.118 GB, free: 17.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004858/1.036, allocations: 1.56 MB / 1.12 GB, free: 17.24 MB / 0.8419 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.01136/1.048, allocations: 6.969 MB / 1.126 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/1.051, allocations: 1.278 MB / 1.128 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/1.052, allocations: 0.6666 MB / 1.128 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/1.053, allocations: 1.15 MB / 1.129 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.053, allocations: 44.38 kB / 1.129 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=77): time 4.479e-06/1.053, allocations: 0 / 1.129 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77): time 0.006208/1.059, allocations: 1.898 MB / 1.131 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.06, allocations: 110.8 kB / 1.131 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/1.063, allocations: 1.407 MB / 1.133 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/1.063, allocations: 42.77 kB / 1.133 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/1.063, allocations: 0.7119 MB / 1.133 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00033/1.064, allocations: 272.1 kB / 1.134 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/1.064, allocations: 179.1 kB / 1.134 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.064, allocations: 346.1 kB / 1.134 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.066, allocations: 0.6017 MB / 1.135 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/1.068, allocations: 0.8306 MB / 1.136 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.072, allocations: 1.315 MB / 1.137 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.072, allocations: 6.781 kB / 1.137 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004812/1.077, allocations: 1.555 MB / 1.138 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.077, allocations: 7.031 kB / 1.138 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/1.077, allocations: 5.219 kB / 1.138 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.287e-05/1.077, allocations: 17.11 kB / 1.138 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.078, allocations: 305.9 kB / 1.139 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.922e-05/1.078, allocations: 13.19 kB / 1.139 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.081, allocations: 192.2 kB / 1.139 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.081, allocations: 39.86 kB / 1.139 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003011/1.084, allocations: 0.9037 MB / 1.14 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002322/1.086, allocations: 0.8259 MB / 1.141 GB, free: 4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003888/1.09, allocations: 1.304 MB / 1.142 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.586e-06/1.09, allocations: 1.375 kB / 1.142 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004887/1.095, allocations: 1.55 MB / 1.143 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.095, allocations: 7 kB / 1.143 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.095, allocations: 4.5 kB / 1.143 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.095, allocations: 9.812 kB / 1.143 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/1.097, allocations: 312.7 kB / 1.144 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/1.097, allocations: 13.84 kB / 1.144 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.099, allocations: 178.5 kB / 1.144 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.099, allocations: 44.03 kB / 1.144 GB, free: 2.227 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0003981/1.099, allocations: 237.4 kB / 1.144 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007098/1.1, allocations: 146.2 kB / 1.144 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/1.105, allocations: 1.695 MB / 1.146 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.105, allocations: 7.281 kB / 1.146 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.105, allocations: 0 / 1.146 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/1.108, allocations: 1.317 MB / 1.147 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/1.117, allocations: 3.397 MB / 1.151 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.117, allocations: 3.594 kB / 1.151 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.118, allocations: 229.4 kB / 1.151 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.889e-05/1.118, allocations: 8 kB / 1.151 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/1.118, allocations: 26.8 kB / 1.151 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/1.118, allocations: 12.28 kB / 1.151 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.118, allocations: 9.062 kB / 1.151 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/1.125, allocations: 2.402 MB / 1.153 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.126, allocations: 400.3 kB / 1.154 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006955/1.127, allocations: 26.84 kB / 1.154 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/1.129, allocations: 134.4 kB / 1.154 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.129, allocations: 84.72 kB / 1.154 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.129, allocations: 44.34 kB / 1.154 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002216/1.131, allocations: 1.082 MB / 1.155 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.131, allocations: 0 / 1.155 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003685/1.135, allocations: 0.8085 MB / 1.156 GB, free: 11.14 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.001516/1.137, allocations: 469.9 kB / 1.156 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006724/1.143, allocations: 2.196 MB / 1.158 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.143, allocations: 0 / 1.158 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.146, allocations: 0.7278 MB / 1.159 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.151, allocations: 0.8264 MB / 1.16 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/1.158, allocations: 2.977 MB / 1.163 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.159, allocations: 1.281 MB / 1.164 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008537/1.16, allocations: 139.4 kB / 1.164 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of SimCode: time 3.747e-06/1.16, allocations: 0 / 1.164 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.0533/1.213, allocations: 29.41 MB / 1.193 GB, free: 7.301 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches