Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001299/0.001299, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001296/0.001296, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.44 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.341, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.6142/0.9552, allocations: 62.09 MB / 1.125 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.9773, allocations: 13.57 MB / 1.138 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.9808, allocations: 54.81 kB / 1.138 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.9842, allocations: 0.8407 MB / 1.139 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.9925, allocations: 2.252 MB / 1.141 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.9976, allocations: 1.477 MB / 1.143 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00872/1.006, allocations: 4.308 MB / 1.147 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/1.009, allocations: 1.409 MB / 1.148 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004915/1.014, allocations: 1.681 MB / 1.15 GB, free: 8 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/1.017, allocations: 1.328 MB / 1.151 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004711/1.017, allocations: 179.9 kB / 1.151 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/1.022, allocations: 1.448 MB / 1.153 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/1.022, allocations: 0.5033 MB / 1.153 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/1.024, allocations: 1.015 MB / 1.154 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004296/1.028, allocations: 2.456 MB / 1.157 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.028, allocations: 3.938 kB / 1.157 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.944e-06/1.028, allocations: 5.406 kB / 1.157 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.075e-05/1.028, allocations: 0 / 1.157 GB, free: 13.17 MB / 0.8887 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.005982/1.034, allocations: 2.33 MB / 1.159 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.035, allocations: 10.5 kB / 1.159 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/1.038, allocations: 0.5336 MB / 1.159 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/1.041, allocations: 1.458 MB / 1.161 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.041, allocations: 153 kB / 1.161 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/1.041, allocations: 112.4 kB / 1.161 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/1.045, allocations: 1.566 MB / 1.163 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.045, allocations: 1.312 kB / 1.163 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/1.045, allocations: 52.08 kB / 1.163 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/1.045, allocations: 28.84 kB / 1.163 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/1.05, allocations: 1.559 MB / 1.164 GB, free: 8.809 MB / 0.8887 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.01198/1.062, allocations: 6.927 MB / 1.171 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/1.065, allocations: 1.288 MB / 1.172 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/1.066, allocations: 0.6656 MB / 1.173 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.068, allocations: 1.145 MB / 1.174 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.068, allocations: 49.03 kB / 1.174 GB, free: 100 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=77): time 3.276e-06/1.068, allocations: 0 / 1.174 GB, free: 100 kB / 0.8887 GB Notification: Performance of matching and sorting (n=77): time 0.00636/1.074, allocations: 1.897 MB / 1.176 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/1.074, allocations: 111.2 kB / 1.176 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/1.077, allocations: 1.396 MB / 1.177 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.00029/1.077, allocations: 44.11 kB / 1.177 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/1.078, allocations: 0.713 MB / 1.178 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/1.078, allocations: 263.8 kB / 1.178 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/1.079, allocations: 179.8 kB / 1.178 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.079, allocations: 345.8 kB / 1.179 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/1.081, allocations: 0.5969 MB / 1.179 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/1.083, allocations: 0.8313 MB / 1.18 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/1.086, allocations: 1.323 MB / 1.181 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.086, allocations: 1.156 kB / 1.181 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004769/1.091, allocations: 1.551 MB / 1.183 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.091, allocations: 10.73 kB / 1.183 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.091, allocations: 4.969 kB / 1.183 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/1.091, allocations: 9.219 kB / 1.183 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.093, allocations: 310.4 kB / 1.183 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.093, allocations: 13.31 kB / 1.183 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.095, allocations: 227.3 kB / 1.184 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.095, allocations: 44.28 kB / 1.184 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002457/1.098, allocations: 0.9037 MB / 1.184 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001998/1.1, allocations: 0.8234 MB / 1.185 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003542/1.103, allocations: 1.316 MB / 1.187 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.164e-06/1.103, allocations: 1.344 kB / 1.187 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004717/1.108, allocations: 1.554 MB / 1.188 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.108, allocations: 9.688 kB / 1.188 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.108, allocations: 4.5 kB / 1.188 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.108, allocations: 8.25 kB / 1.188 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.11, allocations: 305.7 kB / 1.188 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.11, allocations: 10.97 kB / 1.188 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.112, allocations: 220.3 kB / 1.189 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/1.112, allocations: 37.02 kB / 1.189 GB, free: 7.32 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.0004951/1.112, allocations: 242 kB / 1.189 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/1.113, allocations: 155.7 kB / 1.189 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/1.118, allocations: 1.681 MB / 1.191 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.118, allocations: 6.938 kB / 1.191 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.118, allocations: 2.094 kB / 1.191 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00361/1.122, allocations: 1.317 MB / 1.192 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/1.131, allocations: 3.384 MB / 1.195 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.131, allocations: 4 kB / 1.195 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.132, allocations: 232.1 kB / 1.195 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.132, allocations: 8 kB / 1.195 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/1.132, allocations: 31.92 kB / 1.196 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/1.132, allocations: 8 kB / 1.196 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.132, allocations: 11.88 kB / 1.196 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/1.138, allocations: 2.399 MB / 1.198 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.14, allocations: 398.7 kB / 1.198 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/1.14, allocations: 24.06 kB / 1.198 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.142, allocations: 179.6 kB / 1.198 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.142, allocations: 80.34 kB / 1.199 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.142, allocations: 43.97 kB / 1.199 GB, free: 14.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001708/1.144, allocations: 1.072 MB / 1.2 GB, free: 13.03 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 1.2 GB, free: 13.03 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002723/1.147, allocations: 0.7995 MB / 1.2 GB, free: 12.23 MB / 0.92 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.00122/1.148, allocations: 466.7 kB / 1.201 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006501/1.154, allocations: 2.196 MB / 1.203 GB, free: 9.574 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.154, allocations: 4 kB / 1.203 GB, free: 9.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.157, allocations: 0.7186 MB / 1.204 GB, free: 8.855 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.161, allocations: 0.8279 MB / 1.205 GB, free: 8.051 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/1.168, allocations: 3.486 MB / 1.208 GB, free: 4.465 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.169, allocations: 1.265 MB / 1.209 GB, free: 3.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/1.17, allocations: 147.4 kB / 1.209 GB, free: 3.031 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.17, allocations: 4 kB / 1.209 GB, free: 3.027 MB / 0.92 GB Notification: Performance of Templates: time 0.04981/1.22, allocations: 29.17 MB / 1.238 GB, free: 6.043 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches