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.001763/0.001763, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001955/0.001955, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.599/1.599, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.707/2.707, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002021, allocations: 63.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6252, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07187/0.6971, allocations: 62.11 MB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.7194, allocations: 13.56 MB / 1.091 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.7217, allocations: 63.62 kB / 1.091 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.7246, allocations: 0.8355 MB / 1.092 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.7316, allocations: 2.252 MB / 1.094 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.736, allocations: 1.479 MB / 1.095 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007057/0.7431, allocations: 4.314 MB / 1.099 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.7459, allocations: 1.415 MB / 1.101 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.7505, allocations: 1.659 MB / 1.102 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.7531, allocations: 1.338 MB / 1.104 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.7535, allocations: 176 kB / 1.104 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.757, allocations: 1.446 MB / 1.105 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.7577, allocations: 0.5062 MB / 1.106 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.7592, allocations: 1.023 MB / 1.107 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.7643, allocations: 3.151 MB / 1.11 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7644, allocations: 0 / 1.11 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7644, allocations: 0 / 1.11 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.905e-05/0.7644, allocations: 0 / 1.11 GB, free: 3.059 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.005078/0.7695, allocations: 2.329 MB / 1.112 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7695, allocations: 12.03 kB / 1.112 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.7728, allocations: 0.5294 MB / 1.113 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.7756, allocations: 1.463 MB / 1.114 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.7759, allocations: 165.4 kB / 1.114 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.7761, allocations: 108 kB / 1.114 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.7799, allocations: 1.56 MB / 1.116 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.7799, allocations: 7.906 kB / 1.116 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.7801, allocations: 51.98 kB / 1.116 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.7802, allocations: 31.94 kB / 1.116 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.7847, allocations: 1.557 MB / 1.118 GB, free: 11.04 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.01103/0.7957, allocations: 6.912 MB / 1.124 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.7987, allocations: 1.285 MB / 1.126 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.8006, allocations: 0.6624 MB / 1.126 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.8018, allocations: 1.152 MB / 1.127 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.8019, allocations: 43.88 kB / 1.127 GB, free: 188 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=77): time 5.06e-06/0.8019, allocations: 0 / 1.127 GB, free: 188 kB / 0.8731 GB Notification: Performance of matching and sorting (n=77): time 0.006109/0.808, allocations: 1.901 MB / 1.129 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.8081, allocations: 115.5 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8103, allocations: 1.393 MB / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.8104, allocations: 41.7 kB / 1.131 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.8111, allocations: 0.7086 MB / 1.131 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.8114, allocations: 260.2 kB / 1.132 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.8118, allocations: 190.4 kB / 1.132 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.812, allocations: 338 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.8138, allocations: 0.6019 MB / 1.133 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.8158, allocations: 0.8283 MB / 1.134 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.8194, allocations: 1.308 MB / 1.135 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.8194, allocations: 8 kB / 1.135 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004509/0.8239, allocations: 1.553 MB / 1.136 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.824, allocations: 8 kB / 1.136 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.824, allocations: 7.984 kB / 1.136 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.824, allocations: 12.56 kB / 1.136 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.8256, allocations: 307.5 kB / 1.137 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.8256, allocations: 11.98 kB / 1.137 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.8274, allocations: 234.8 kB / 1.137 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8275, allocations: 39.98 kB / 1.137 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002323/0.8298, allocations: 0.9 MB / 1.138 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002019/0.8318, allocations: 0.8245 MB / 1.139 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003543/0.8354, allocations: 1.312 MB / 1.14 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/0.8354, allocations: 4 kB / 1.14 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00447/0.8399, allocations: 1.546 MB / 1.141 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8399, allocations: 8.938 kB / 1.141 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.8399, allocations: 4 kB / 1.141 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.84, allocations: 11.98 kB / 1.141 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.8415, allocations: 308 kB / 1.142 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.8416, allocations: 19.94 kB / 1.142 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.8433, allocations: 211.1 kB / 1.142 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.8434, allocations: 43.92 kB / 1.142 GB, free: 0.7578 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.0003771/0.8438, allocations: 236 kB / 1.142 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/0.8443, allocations: 146.2 kB / 1.142 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.8489, allocations: 1.7 MB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.849, allocations: 8 kB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.849, allocations: 7.938 kB / 1.144 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/0.8527, allocations: 1.304 MB / 1.145 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/0.8605, allocations: 3.396 MB / 1.149 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.8606, allocations: 4 kB / 1.149 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8619, allocations: 232.2 kB / 1.149 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.8619, allocations: 4 kB / 1.149 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.862, allocations: 27.98 kB / 1.149 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.862, allocations: 11.98 kB / 1.149 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8621, allocations: 11.88 kB / 1.149 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006492/0.8686, allocations: 2.396 MB / 1.151 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009783/0.8696, allocations: 398.7 kB / 1.152 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.8701, allocations: 19.98 kB / 1.152 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.8719, allocations: 179.7 kB / 1.152 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.8722, allocations: 92.33 kB / 1.152 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.8723, allocations: 43.91 kB / 1.152 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002119/0.8744, allocations: 1.068 MB / 1.153 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8745, allocations: 0 / 1.153 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002956/0.8774, allocations: 0.7955 MB / 1.154 GB, free: 4.422 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.001309/0.8787, allocations: 473.6 kB / 1.154 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006907/0.8857, allocations: 2.196 MB / 1.156 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.8857, allocations: 0 / 1.156 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.888, allocations: 0.7459 MB / 1.157 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.8927, allocations: 0.8223 MB / 1.158 GB, free: 228 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.8995, allocations: 3.411 MB / 1.161 GB, free: 12.72 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.9008, allocations: 1.285 MB / 1.162 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002425/0.9033, allocations: 424.2 kB / 1.163 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.9039, allocations: 131.4 kB / 1.163 GB, free: 10.85 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/0.9039, allocations: 4 kB / 1.163 GB, free: 10.85 MB / 0.92 GB Notification: Performance of Templates: time 0.06623/0.9702, allocations: 33.41 MB / 1.196 GB, free: 9.863 MB / 0.9512 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=400 -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