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.00176/0.00176, allocations: 108 kB / 15.6 MB, free: 132 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.002071/0.002071, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.841/2.841, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002073, allocations: 71.88 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5838, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07189/0.6557, allocations: 62.65 MB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.6766, allocations: 13.65 MB / 1.092 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.6796, allocations: 59.69 kB / 1.092 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.683, allocations: 0.9433 MB / 1.093 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.6909, allocations: 2.425 MB / 1.095 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004893/0.6958, allocations: 1.597 MB / 1.097 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007266/0.7031, allocations: 4.287 MB / 1.101 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.7061, allocations: 1.408 MB / 1.102 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.7109, allocations: 1.644 MB / 1.104 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.7133, allocations: 1.303 MB / 1.105 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004319/0.7138, allocations: 176 kB / 1.105 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.7171, allocations: 1.423 MB / 1.107 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.7177, allocations: 0.514 MB / 1.107 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.7192, allocations: 1.007 MB / 1.108 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006384/0.7256, allocations: 3.132 MB / 1.111 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7256, allocations: 0 / 1.111 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7256, allocations: 0 / 1.111 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-05/0.7257, allocations: 0 / 1.111 GB, free: 1.949 MB / 0.8575 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.006394/0.7321, allocations: 2.333 MB / 1.114 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.7322, allocations: 12.03 kB / 1.114 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.7355, allocations: 0.5333 MB / 1.114 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.7384, allocations: 1.432 MB / 1.115 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.7386, allocations: 161.5 kB / 1.116 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.7388, allocations: 104 kB / 1.116 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.7426, allocations: 1.562 MB / 1.117 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.7427, allocations: 0 / 1.117 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.7428, allocations: 48 kB / 1.117 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.7429, allocations: 32 kB / 1.117 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.7475, allocations: 1.565 MB / 1.119 GB, free: 9.957 MB / 0.8731 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.01074/0.7583, allocations: 6.959 MB / 1.126 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.7613, allocations: 1.275 MB / 1.127 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.7634, allocations: 0.6624 MB / 1.128 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.7645, allocations: 1.156 MB / 1.129 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.7645, allocations: 43.22 kB / 1.129 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/0.7645, allocations: 0 / 1.129 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=77): time 0.006437/0.771, allocations: 1.901 MB / 1.131 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.7711, allocations: 111.5 kB / 1.131 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.7733, allocations: 1.401 MB / 1.132 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.7735, allocations: 45.7 kB / 1.132 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.7743, allocations: 0.7124 MB / 1.133 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.7747, allocations: 268.1 kB / 1.133 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.7751, allocations: 178.5 kB / 1.133 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7753, allocations: 345.9 kB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.7773, allocations: 0.6019 MB / 1.134 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.7795, allocations: 0.8205 MB / 1.135 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.7835, allocations: 1.32 MB / 1.136 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.7835, allocations: 0 / 1.136 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004865/0.7884, allocations: 1.558 MB / 1.138 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.7885, allocations: 16 kB / 1.138 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7885, allocations: 4 kB / 1.138 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.7885, allocations: 8 kB / 1.138 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.7902, allocations: 311.5 kB / 1.138 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.7902, allocations: 8 kB / 1.138 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7918, allocations: 190.9 kB / 1.138 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.7919, allocations: 39.98 kB / 1.138 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002519/0.7944, allocations: 0.9078 MB / 1.139 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002151/0.7966, allocations: 0.825 MB / 1.14 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00392/0.8005, allocations: 1.312 MB / 1.141 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.8006, allocations: 4 kB / 1.141 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004774/0.8053, allocations: 1.546 MB / 1.143 GB, free: 256 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8054, allocations: 8.922 kB / 1.143 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.8054, allocations: 8 kB / 1.143 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.8054, allocations: 8 kB / 1.143 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.8071, allocations: 308.2 kB / 1.143 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.8071, allocations: 8 kB / 1.143 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.8087, allocations: 179.1 kB / 1.143 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8088, allocations: 43.92 kB / 1.143 GB, free: 15.7 MB / 0.9044 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.0003622/0.8092, allocations: 236.7 kB / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.8096, allocations: 146.2 kB / 1.144 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.8144, allocations: 1.688 MB / 1.145 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.8144, allocations: 11.98 kB / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8144, allocations: 7.938 kB / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00394/0.8184, allocations: 1.312 MB / 1.147 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/0.8261, allocations: 3.407 MB / 1.15 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.8262, allocations: 4 kB / 1.15 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.8275, allocations: 228.2 kB / 1.15 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.8276, allocations: 11.94 kB / 1.15 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.8277, allocations: 23.98 kB / 1.15 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.8277, allocations: 12 kB / 1.15 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.8277, allocations: 7.938 kB / 1.15 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/0.8344, allocations: 2.411 MB / 1.153 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.8353, allocations: 394.8 kB / 1.153 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/0.8357, allocations: 19.91 kB / 1.153 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.8374, allocations: 135.9 kB / 1.153 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.8376, allocations: 84.34 kB / 1.153 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.8377, allocations: 51.89 kB / 1.153 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001853/0.8396, allocations: 1.079 MB / 1.154 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8396, allocations: 0 / 1.154 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002429/0.842, allocations: 0.8072 MB / 1.155 GB, free: 3.371 MB / 0.9044 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.001126/0.8432, allocations: 473.9 kB / 1.156 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007024/0.8502, allocations: 2.196 MB / 1.158 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.8503, allocations: 4 kB / 1.158 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.8526, allocations: 0.746 MB / 1.158 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/0.8571, allocations: 0.8253 MB / 1.159 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/0.863, allocations: 2.915 MB / 1.162 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.8641, allocations: 1.277 MB / 1.163 GB, free: 10.85 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002071/0.8661, allocations: 420.2 kB / 1.164 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.8666, allocations: 135.4 kB / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/0.8666, allocations: 0 / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of Templates: time 0.06214/0.9288, allocations: 34.15 MB / 1.197 GB, free: 8.574 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches