Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.00153/0.00153, 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.00173/0.00173, allocations: 193.2 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6361, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06179/0.6979, allocations: 62.64 MB / 1.011 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.7171, allocations: 13.65 MB / 1.024 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.7195, allocations: 63.69 kB / 1.024 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.722, allocations: 0.9394 MB / 1.025 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006679/0.7288, allocations: 2.388 MB / 1.027 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.7331, allocations: 1.626 MB / 1.029 GB, free: 372 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005539/0.7387, allocations: 4.275 MB / 1.033 GB, free: 12.08 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.7407, allocations: 1.404 MB / 1.035 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.7441, allocations: 1.641 MB / 1.036 GB, free: 9 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.7459, allocations: 1.292 MB / 1.037 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.7462, allocations: 179.9 kB / 1.038 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.7492, allocations: 1.431 MB / 1.039 GB, free: 6.094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.7496, allocations: 0.4984 MB / 1.039 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009948/0.7506, allocations: 1.015 MB / 1.04 GB, free: 4.574 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.7547, allocations: 3.12 MB / 1.043 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7547, allocations: 0 / 1.043 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7547, allocations: 0 / 1.043 GB, free: 1.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.7547, allocations: 0 / 1.043 GB, free: 1.445 MB / 0.795 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.004337/0.7591, allocations: 2.345 MB / 1.046 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7591, allocations: 12.03 kB / 1.046 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.7606, allocations: 318.4 kB / 1.046 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.7627, allocations: 1.408 MB / 1.047 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.7629, allocations: 161.5 kB / 1.048 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.7631, allocations: 111.9 kB / 1.048 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.766, allocations: 1.43 MB / 1.049 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.766, allocations: 7.938 kB / 1.049 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.7661, allocations: 51.98 kB / 1.049 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.7662, allocations: 28 kB / 1.049 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.7696, allocations: 1.343 MB / 1.051 GB, free: 10.02 MB / 0.8106 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.00853/0.7781, allocations: 6.667 MB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.7804, allocations: 1.164 MB / 1.058 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.7817, allocations: 0.5648 MB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008701/0.7826, allocations: 1.149 MB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.7826, allocations: 43.16 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=77): time 2.594e-06/0.7826, allocations: 0 / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=77): time 0.004391/0.787, allocations: 1.589 MB / 1.061 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.7871, allocations: 119.5 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.7891, allocations: 1.401 MB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.7893, allocations: 45.7 kB / 1.063 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.7899, allocations: 0.7202 MB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.7901, allocations: 260.2 kB / 1.064 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.7905, allocations: 174.5 kB / 1.064 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7906, allocations: 337.9 kB / 1.064 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.7919, allocations: 0.4965 MB / 1.065 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.7935, allocations: 0.7195 MB / 1.066 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002752/0.7963, allocations: 1.129 MB / 1.067 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7963, allocations: 0 / 1.067 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003455/0.7997, allocations: 1.355 MB / 1.068 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7998, allocations: 4 kB / 1.068 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7998, allocations: 8 kB / 1.068 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.7998, allocations: 8 kB / 1.068 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.8011, allocations: 279.8 kB / 1.068 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.8011, allocations: 11.94 kB / 1.068 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.8026, allocations: 162.9 kB / 1.068 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.8027, allocations: 36 kB / 1.068 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001901/0.8046, allocations: 0.7946 MB / 1.069 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00154/0.8061, allocations: 0.7229 MB / 1.07 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002675/0.8088, allocations: 1.117 MB / 1.071 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/0.8088, allocations: 0 / 1.071 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003453/0.8123, allocations: 1.343 MB / 1.072 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.8123, allocations: 8 kB / 1.072 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8123, allocations: 8.5 kB / 1.072 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8124, allocations: 8 kB / 1.072 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.8136, allocations: 271.6 kB / 1.073 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8136, allocations: 11.94 kB / 1.073 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8149, allocations: 147.2 kB / 1.073 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.815, allocations: 35.98 kB / 1.073 GB, free: 1.949 MB / 0.8262 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.0003136/0.8153, allocations: 236 kB / 1.073 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.8156, allocations: 150.1 kB / 1.073 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.8191, allocations: 1.478 MB / 1.075 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.8192, allocations: 11.94 kB / 1.075 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8192, allocations: 0 / 1.075 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002671/0.8219, allocations: 1.117 MB / 1.076 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.8278, allocations: 3.093 MB / 1.079 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.8278, allocations: 4 kB / 1.079 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8288, allocations: 204.2 kB / 1.079 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.8289, allocations: 8 kB / 1.079 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.8289, allocations: 19.94 kB / 1.079 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.829, allocations: 15.92 kB / 1.079 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.829, allocations: 4 kB / 1.079 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.8336, allocations: 2.072 MB / 1.081 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/0.8343, allocations: 378.8 kB / 1.081 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.8345, allocations: 19.94 kB / 1.081 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8357, allocations: 103.8 kB / 1.082 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.8359, allocations: 92.39 kB / 1.082 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.836, allocations: 35.97 kB / 1.082 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001605/0.8376, allocations: 1.079 MB / 1.083 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8376, allocations: 0 / 1.083 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001979/0.8396, allocations: 0.8032 MB / 1.083 GB, free: 6.758 MB / 0.8419 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.000981/0.8406, allocations: 474.1 kB / 1.084 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004809/0.8454, allocations: 1.876 MB / 1.086 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8455, allocations: 3.938 kB / 1.086 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.8472, allocations: 0.6327 MB / 1.086 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/0.8515, allocations: 0.8314 MB / 1.087 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.8562, allocations: 2.813 MB / 1.09 GB, free: 80 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.8571, allocations: 1.273 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001979/0.8591, allocations: 404.2 kB / 1.092 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.8595, allocations: 131.4 kB / 1.092 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of SimCode: time 1.223e-06/0.8595, allocations: 3.938 kB / 1.092 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of Templates: time 0.05394/0.9135, allocations: 33.49 MB / 1.124 GB, free: 13.18 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches