Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001369/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001587/0.001587, allocations: 192.6 kB / 16.14 MB, free: 6.645 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.33 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3069, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.0582/0.3652, allocations: 62.25 MB / 1.113 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.383, allocations: 13.72 MB / 1.126 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.3851, allocations: 55.69 kB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.3874, allocations: 0.8004 MB / 1.127 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.3927, allocations: 2.212 MB / 1.129 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.3963, allocations: 1.467 MB / 1.131 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005776/0.4021, allocations: 5.468 MB / 1.136 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.4037, allocations: 1.21 MB / 1.137 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.4064, allocations: 1.427 MB / 1.139 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.408, allocations: 1.28 MB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.4082, allocations: 95.94 kB / 1.14 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.4109, allocations: 1.318 MB / 1.141 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.4114, allocations: 434.3 kB / 1.142 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.4124, allocations: 0.921 MB / 1.143 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.418, allocations: 3.081 MB / 1.146 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4181, allocations: 0 / 1.146 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.21e-07/0.4181, allocations: 0 / 1.146 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.4181, allocations: 0 / 1.146 GB, free: 8.855 MB / 0.9044 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.004286/0.4224, allocations: 2.337 MB / 1.148 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4225, allocations: 12.03 kB / 1.148 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.4239, allocations: 318.4 kB / 1.148 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.4261, allocations: 1.44 MB / 1.15 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.4263, allocations: 169.4 kB / 1.15 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.4265, allocations: 111.9 kB / 1.15 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.4294, allocations: 1.438 MB / 1.151 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.4294, allocations: 3.938 kB / 1.151 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4296, allocations: 48 kB / 1.151 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.4296, allocations: 31.98 kB / 1.151 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.4328, allocations: 1.343 MB / 1.153 GB, free: 1.402 MB / 0.9044 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.008344/0.4412, allocations: 6.632 MB / 1.159 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.4433, allocations: 1.166 MB / 1.16 GB, free: 9.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.4446, allocations: 0.5576 MB / 1.161 GB, free: 8.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008151/0.4454, allocations: 1.145 MB / 1.162 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4455, allocations: 51.2 kB / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=77): time 2.635e-06/0.4455, allocations: 0 / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=77): time 0.004003/0.4495, allocations: 1.585 MB / 1.164 GB, free: 5.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.4496, allocations: 119.6 kB / 1.164 GB, free: 5.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.4513, allocations: 1.393 MB / 1.165 GB, free: 3.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.4513, allocations: 41.7 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.4519, allocations: 0.7086 MB / 1.166 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.4521, allocations: 268.1 kB / 1.166 GB, free: 2.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.4524, allocations: 178.5 kB / 1.166 GB, free: 2.695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4525, allocations: 345.9 kB / 1.166 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4538, allocations: 0.4966 MB / 1.167 GB, free: 1.852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4552, allocations: 0.7269 MB / 1.168 GB, free: 1.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.4576, allocations: 1.133 MB / 1.169 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4576, allocations: 0 / 1.169 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003036/0.4607, allocations: 1.35 MB / 1.17 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4607, allocations: 4 kB / 1.17 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4607, allocations: 8 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4608, allocations: 8.562 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.462, allocations: 271.6 kB / 1.17 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.462, allocations: 11.94 kB / 1.17 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.4632, allocations: 202.8 kB / 1.171 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.4633, allocations: 39.98 kB / 1.171 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001675/0.465, allocations: 0.7961 MB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001378/0.4664, allocations: 0.7151 MB / 1.172 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002441/0.4688, allocations: 1.121 MB / 1.173 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.4689, allocations: 0 / 1.173 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003028/0.4719, allocations: 1.362 MB / 1.175 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4719, allocations: 9.094 kB / 1.175 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4719, allocations: 8 kB / 1.175 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4719, allocations: 12 kB / 1.175 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4731, allocations: 271.8 kB / 1.175 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4732, allocations: 12 kB / 1.175 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.4743, allocations: 179.2 kB / 1.175 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.4744, allocations: 39.98 kB / 1.175 GB, free: 9.258 MB / 0.9356 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.0002695/0.4747, allocations: 228 kB / 1.175 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.475, allocations: 146.2 kB / 1.175 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.4782, allocations: 1.486 MB / 1.177 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4782, allocations: 8 kB / 1.177 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4782, allocations: 0 / 1.177 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002441/0.4807, allocations: 1.109 MB / 1.178 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.4862, allocations: 3.082 MB / 1.181 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4862, allocations: 4 kB / 1.181 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/0.4872, allocations: 191.7 kB / 1.181 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.4872, allocations: 8 kB / 1.181 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.4873, allocations: 20.25 kB / 1.181 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.4873, allocations: 19.92 kB / 1.181 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4873, allocations: 7.938 kB / 1.181 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.4915, allocations: 2.06 MB / 1.183 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.4922, allocations: 382.7 kB / 1.184 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.4924, allocations: 27.98 kB / 1.184 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.4937, allocations: 139.7 kB / 1.184 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.4939, allocations: 84.34 kB / 1.184 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.494, allocations: 39.97 kB / 1.184 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001392/0.4954, allocations: 1.072 MB / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4954, allocations: 3.938 kB / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00193/0.4973, allocations: 0.7916 MB / 1.186 GB, free: 14.1 MB / 0.9512 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.0008828/0.4982, allocations: 466.5 kB / 1.186 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004358/0.5026, allocations: 1.806 MB / 1.188 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5026, allocations: 0 / 1.188 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.5042, allocations: 0.6405 MB / 1.188 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.5078, allocations: 0.7815 MB / 1.189 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.5122, allocations: 3.315 MB / 1.192 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/0.513, allocations: 1.285 MB / 1.194 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001636/0.5147, allocations: 401.6 kB / 1.194 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.5151, allocations: 123.4 kB / 1.194 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of SimCode: time 4.9e-07/0.5151, allocations: 0 / 1.194 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.0493/0.5644, allocations: 31.66 MB / 1.225 GB, free: 5.898 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches