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.007669/0.007669, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001784/0.001784, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.399/2.399, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7669, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06071/0.8276, allocations: 62.65 MB / 1.228 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.8481, allocations: 13.65 MB / 1.241 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.8514, allocations: 59.69 kB / 1.241 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.8548, allocations: 0.9472 MB / 1.242 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.8622, allocations: 2.399 MB / 1.244 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004574/0.8667, allocations: 1.632 MB / 1.246 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006443/0.8732, allocations: 4.279 MB / 1.25 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.8753, allocations: 1.421 MB / 1.252 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.8792, allocations: 1.642 MB / 1.253 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.8812, allocations: 1.288 MB / 1.254 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.8816, allocations: 176 kB / 1.255 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.8849, allocations: 1.427 MB / 1.256 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005591/0.8855, allocations: 0.5023 MB / 1.256 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.8868, allocations: 1.003 MB / 1.257 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.8922, allocations: 3.185 MB / 1.261 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8922, allocations: 0 / 1.261 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8922, allocations: 3.938 kB / 1.261 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.627e-05/0.8923, allocations: 4 kB / 1.261 GB, free: 3.215 MB / 0.9825 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.005191/0.8975, allocations: 2.405 MB / 1.263 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.8975, allocations: 8.922 kB / 1.263 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.899, allocations: 323.5 kB / 1.263 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.9018, allocations: 1.496 MB / 1.265 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.902, allocations: 157.5 kB / 1.265 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.9022, allocations: 108 kB / 1.265 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.9052, allocations: 1.441 MB / 1.266 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.9052, allocations: 0 / 1.266 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.9054, allocations: 44 kB / 1.266 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.9054, allocations: 39.92 kB / 1.266 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.9086, allocations: 1.335 MB / 1.268 GB, free: 11.66 MB / 0.9981 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.008895/0.9175, allocations: 6.648 MB / 1.274 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.9198, allocations: 1.169 MB / 1.275 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.9212, allocations: 0.5687 MB / 1.276 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009314/0.9221, allocations: 1.145 MB / 1.277 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.9222, allocations: 43.78 kB / 1.277 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.627e-06/0.9222, allocations: 4 kB / 1.277 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.004401/0.9266, allocations: 1.598 MB / 1.279 GB, free: 15.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.9267, allocations: 115.4 kB / 1.279 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.9287, allocations: 1.412 MB / 1.28 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.9288, allocations: 37.7 kB / 1.28 GB, free: 14.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.9295, allocations: 0.7253 MB / 1.281 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.9297, allocations: 277.6 kB / 1.281 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.9301, allocations: 182.6 kB / 1.281 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9302, allocations: 341.9 kB / 1.282 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.9315, allocations: 0.4966 MB / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.933, allocations: 0.7229 MB / 1.283 GB, free: 11.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.9357, allocations: 1.133 MB / 1.284 GB, free: 10.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9358, allocations: 0 / 1.284 GB, free: 10.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003505/0.9393, allocations: 1.359 MB / 1.285 GB, free: 8.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.9393, allocations: 8.094 kB / 1.285 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9393, allocations: 8 kB / 1.285 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.9394, allocations: 8 kB / 1.285 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.9406, allocations: 271.6 kB / 1.286 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.9406, allocations: 8 kB / 1.286 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.9419, allocations: 159.2 kB / 1.286 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.942, allocations: 43.97 kB / 1.286 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001816/0.9439, allocations: 0.7946 MB / 1.287 GB, free: 7.371 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001462/0.9453, allocations: 0.7191 MB / 1.287 GB, free: 6.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002619/0.948, allocations: 1.121 MB / 1.288 GB, free: 5.383 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.948, allocations: 8 kB / 1.288 GB, free: 5.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00353/0.9515, allocations: 1.355 MB / 1.29 GB, free: 4.008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9515, allocations: 8 kB / 1.29 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.9516, allocations: 7.938 kB / 1.29 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9516, allocations: 8 kB / 1.29 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9528, allocations: 272.2 kB / 1.29 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.9528, allocations: 11.94 kB / 1.29 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9541, allocations: 147.4 kB / 1.29 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/0.9542, allocations: 39.92 kB / 1.29 GB, free: 3.523 MB / 1.014 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.0003453/0.9546, allocations: 232 kB / 1.29 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.955, allocations: 163 kB / 1.291 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.9586, allocations: 1.47 MB / 1.292 GB, free: 1.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.9586, allocations: 11.98 kB / 1.292 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.9586, allocations: 0 / 1.292 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002682/0.9613, allocations: 1.113 MB / 1.293 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/0.9673, allocations: 3.095 MB / 1.296 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.9674, allocations: 16.03 kB / 1.296 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.9684, allocations: 187.7 kB / 1.296 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.9684, allocations: 8 kB / 1.296 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/0.9685, allocations: 23.98 kB / 1.296 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/0.9685, allocations: 8 kB / 1.296 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.9685, allocations: 11.88 kB / 1.296 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/0.9732, allocations: 2.076 MB / 1.298 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/0.9739, allocations: 391.6 kB / 1.299 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.9743, allocations: 27.88 kB / 1.299 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.9756, allocations: 103.9 kB / 1.299 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.9758, allocations: 80.34 kB / 1.299 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.9759, allocations: 47.91 kB / 1.299 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001779/0.9777, allocations: 1.083 MB / 1.3 GB, free: 9.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9777, allocations: 0 / 1.3 GB, free: 9.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002181/0.9799, allocations: 0.7993 MB / 1.301 GB, free: 8.32 MB / 1.029 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.001053/0.981, allocations: 472.6 kB / 1.301 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004644/0.9856, allocations: 1.818 MB / 1.303 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9856, allocations: 448 / 1.303 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.9873, allocations: 0.6443 MB / 1.304 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.9913, allocations: 0.8254 MB / 1.304 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.9963, allocations: 2.809 MB / 1.307 GB, free: 1.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009852/0.9973, allocations: 1.281 MB / 1.308 GB, free: 388 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001622/0.999, allocations: 400.3 kB / 1.309 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.9994, allocations: 131.4 kB / 1.309 GB, free: 15.85 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/0.9994, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.045 GB Notification: Performance of Templates: time 0.05471/1.054, allocations: 33.71 MB / 1.342 GB, free: 14.51 MB / 1.076 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=480 -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