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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001019/0.001019, allocations: 92.16 kB / 16.02 MB, free: 76 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.001549/0.001549, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 11.94 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.781, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06722/0.8483, allocations: 61.11 MB / 1.083 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.8683, allocations: 13.55 MB / 1.097 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.8716, allocations: 51.69 kB / 1.097 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.8749, allocations: 0.8121 MB / 1.097 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007873/0.8828, allocations: 2.198 MB / 1.1 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/0.8877, allocations: 1.475 MB / 1.101 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007766/0.8955, allocations: 5.483 MB / 1.106 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.8983, allocations: 1.17 MB / 1.108 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.9022, allocations: 1.373 MB / 1.109 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.9049, allocations: 1.233 MB / 1.11 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.9054, allocations: 72 kB / 1.11 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.9091, allocations: 1.298 MB / 1.111 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.9099, allocations: 414.3 kB / 1.112 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.912, allocations: 0.9109 MB / 1.113 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.916, allocations: 2.373 MB / 1.115 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.9161, allocations: 4 kB / 1.115 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9161, allocations: 0 / 1.115 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.012e-05/0.9162, allocations: 0 / 1.115 GB, free: 2.074 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.005424/0.9216, allocations: 2.026 MB / 1.117 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.9217, allocations: 8.031 kB / 1.117 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.9236, allocations: 350.3 kB / 1.117 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.9269, allocations: 1.447 MB / 1.119 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.9272, allocations: 153.5 kB / 1.119 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.9275, allocations: 108 kB / 1.119 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.9311, allocations: 1.494 MB / 1.12 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.9312, allocations: 7.938 kB / 1.12 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.9313, allocations: 48 kB / 1.12 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.9314, allocations: 28 kB / 1.121 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/0.9351, allocations: 1.448 MB / 1.122 GB, free: 10.76 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.01006/0.9452, allocations: 6.655 MB / 1.128 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.9475, allocations: 1.229 MB / 1.13 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.949, allocations: 0.604 MB / 1.13 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009412/0.9499, allocations: 1.145 MB / 1.131 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.95, allocations: 51.16 kB / 1.131 GB, free: 280 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=77): time 2.946e-06/0.95, allocations: 0 / 1.131 GB, free: 280 kB / 0.8731 GB Notification: Performance of matching and sorting (n=77): time 0.004819/0.9548, allocations: 1.741 MB / 1.133 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.955, allocations: 111.5 kB / 1.133 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.9577, allocations: 1.397 MB / 1.135 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.9579, allocations: 41.7 kB / 1.135 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/0.9586, allocations: 0.7162 MB / 1.135 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.9589, allocations: 264.2 kB / 1.136 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.9591, allocations: 81.67 kB / 1.136 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9593, allocations: 337.9 kB / 1.136 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.9607, allocations: 0.5407 MB / 1.136 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.9623, allocations: 0.7698 MB / 1.137 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.9652, allocations: 1.23 MB / 1.138 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9652, allocations: 0 / 1.138 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003771/0.969, allocations: 1.456 MB / 1.14 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.9692, allocations: 228.6 kB / 1.14 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.9692, allocations: 4 kB / 1.14 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.9693, allocations: 19.88 kB / 1.14 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9706, allocations: 295.6 kB / 1.14 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.9706, allocations: 8 kB / 1.14 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9723, allocations: 219 kB / 1.141 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.9724, allocations: 43.92 kB / 1.141 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9724, allocations: 8 kB / 1.141 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003133/0.9756, allocations: 1.288 MB / 1.142 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.9756, allocations: 4 kB / 1.142 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9756, allocations: 11.98 kB / 1.142 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.9769, allocations: 296.1 kB / 1.142 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/0.9769, allocations: 11.98 kB / 1.142 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.9785, allocations: 211 kB / 1.142 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.9787, allocations: 39.98 kB / 1.142 GB, free: 4.637 MB / 0.8887 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.0009284/0.9796, allocations: 468.7 kB / 1.143 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.9801, allocations: 154.1 kB / 1.143 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.9838, allocations: 1.568 MB / 1.145 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.9838, allocations: 8 kB / 1.145 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9838, allocations: 0 / 1.145 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002753/0.9866, allocations: 1.214 MB / 1.146 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/0.9935, allocations: 3.195 MB / 1.149 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.9935, allocations: 7.938 kB / 1.149 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.9945, allocations: 220.3 kB / 1.149 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.9945, allocations: 8 kB / 1.149 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.9946, allocations: 23.98 kB / 1.149 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.9946, allocations: 8 kB / 1.149 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9947, allocations: 7.938 kB / 1.149 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/0.9996, allocations: 2.224 MB / 1.151 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.001, allocations: 410.7 kB / 1.152 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/1.001, allocations: 19.98 kB / 1.152 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.003, allocations: 163.7 kB / 1.152 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.003, allocations: 84.34 kB / 1.152 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.003, allocations: 43.97 kB / 1.152 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001974/1.005, allocations: 1.068 MB / 1.153 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.005, allocations: 4 kB / 1.153 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00269/1.008, allocations: 0.7838 MB / 1.154 GB, free: 8.703 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.001177/1.009, allocations: 466.5 kB / 1.154 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004956/1.014, allocations: 1.959 MB / 1.156 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.014, allocations: 4 kB / 1.156 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.016, allocations: 0.6718 MB / 1.157 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/1.021, allocations: 0.8278 MB / 1.158 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/1.027, allocations: 3.443 MB / 1.161 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.029, allocations: 1.27 MB / 1.162 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/1.029, allocations: 147.4 kB / 1.162 GB, free: 15.81 MB / 0.92 GB Notification: Performance of SimCode: time 1.082e-06/1.029, allocations: 0 / 1.162 GB, free: 15.81 MB / 0.92 GB Notification: Performance of Templates: time 0.04771/1.077, allocations: 28.28 MB / 1.19 GB, free: 3.715 MB / 0.9356 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/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