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.00168/0.00168, allocations: 113 kB / 16.41 MB, free: 6.016 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.001938/0.001938, allocations: 186.8 kB / 17.34 MB, free: 5.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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.631/2.631, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.8136, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07092/0.8845, allocations: 62.77 MB / 1.229 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.9058, allocations: 13.67 MB / 1.242 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.9083, allocations: 59.69 kB / 1.242 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.9112, allocations: 0.9861 MB / 1.243 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.9181, allocations: 2.535 MB / 1.245 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.9225, allocations: 1.619 MB / 1.247 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006664/0.9292, allocations: 4.298 MB / 1.251 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.9313, allocations: 1.191 MB / 1.252 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.9355, allocations: 1.675 MB / 1.254 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.9379, allocations: 1.292 MB / 1.255 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.9383, allocations: 176 kB / 1.255 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.9419, allocations: 1.435 MB / 1.257 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.9425, allocations: 0.5176 MB / 1.257 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.944, allocations: 1.007 MB / 1.258 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006102/0.9501, allocations: 3.189 MB / 1.261 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9501, allocations: 0 / 1.261 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9501, allocations: 0 / 1.261 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001048/0.9502, allocations: 0 / 1.261 GB, free: 3.098 MB / 0.9825 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.006405/0.9566, allocations: 2.411 MB / 1.264 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9567, allocations: 8.031 kB / 1.264 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.9599, allocations: 0.5383 MB / 1.264 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.963, allocations: 1.492 MB / 1.266 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.9632, allocations: 169.4 kB / 1.266 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.9634, allocations: 112 kB / 1.266 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.9672, allocations: 1.558 MB / 1.268 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.9672, allocations: 7.938 kB / 1.268 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.9673, allocations: 44 kB / 1.268 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.9674, allocations: 35.98 kB / 1.268 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.9719, allocations: 1.557 MB / 1.269 GB, free: 10.95 MB / 0.9981 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.01064/0.9825, allocations: 6.937 MB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.9854, allocations: 1.228 MB / 1.277 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.9873, allocations: 0.6366 MB / 1.278 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.9883, allocations: 1.149 MB / 1.279 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.9884, allocations: 43.22 kB / 1.279 GB, free: 172 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 2.384e-06/0.9884, allocations: 0 / 1.279 GB, free: 172 kB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.006247/0.9946, allocations: 1.902 MB / 1.281 GB, free: 14.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.9947, allocations: 111.5 kB / 1.281 GB, free: 14.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.9968, allocations: 1.405 MB / 1.282 GB, free: 12.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.997, allocations: 49.7 kB / 1.282 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.9977, allocations: 0.7252 MB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.998, allocations: 277.6 kB / 1.283 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.9983, allocations: 178.5 kB / 1.283 GB, free: 11.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9985, allocations: 341.9 kB / 1.284 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/1, allocations: 0.6019 MB / 1.284 GB, free: 10.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.003, allocations: 0.8284 MB / 1.285 GB, free: 9.605 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.006, allocations: 1.316 MB / 1.286 GB, free: 8.223 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.006, allocations: 0 / 1.286 GB, free: 8.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004641/1.011, allocations: 1.574 MB / 1.288 GB, free: 6.641 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.011, allocations: 8 kB / 1.288 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.011, allocations: 4 kB / 1.288 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.011, allocations: 8 kB / 1.288 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.013, allocations: 307.9 kB / 1.288 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.013, allocations: 11.94 kB / 1.288 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.014, allocations: 199.1 kB / 1.289 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/1.014, allocations: 43.98 kB / 1.289 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002393/1.017, allocations: 0.9 MB / 1.289 GB, free: 5.164 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002069/1.019, allocations: 0.8205 MB / 1.29 GB, free: 4.254 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003666/1.022, allocations: 1.312 MB / 1.292 GB, free: 2.879 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.153e-06/1.022, allocations: 4 kB / 1.292 GB, free: 2.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004648/1.027, allocations: 1.55 MB / 1.293 GB, free: 1.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.027, allocations: 11.06 kB / 1.293 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.027, allocations: 11.98 kB / 1.293 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.027, allocations: 8 kB / 1.293 GB, free: 1.289 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.029, allocations: 307.5 kB / 1.293 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/1.029, allocations: 15.94 kB / 1.293 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.031, allocations: 183.2 kB / 1.294 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.031, allocations: 43.92 kB / 1.294 GB, free: 0.75 MB / 1.014 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.0004238/1.031, allocations: 236 kB / 1.294 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/1.031, allocations: 155 kB / 1.294 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/1.036, allocations: 1.685 MB / 1.296 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.036, allocations: 8 kB / 1.296 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.036, allocations: 4 kB / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003719/1.04, allocations: 1.312 MB / 1.297 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/1.048, allocations: 3.408 MB / 1.3 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.048, allocations: 8 kB / 1.3 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.049, allocations: 224.2 kB / 1.3 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.049, allocations: 8 kB / 1.3 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/1.049, allocations: 31.98 kB / 1.301 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/1.049, allocations: 7.938 kB / 1.301 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.049, allocations: 11.94 kB / 1.301 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/1.056, allocations: 2.408 MB / 1.303 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.057, allocations: 403.6 kB / 1.303 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/1.057, allocations: 23.94 kB / 1.303 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.059, allocations: 143.9 kB / 1.303 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.059, allocations: 80.41 kB / 1.304 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.06, allocations: 47.91 kB / 1.304 GB, free: 6.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001761/1.061, allocations: 1.083 MB / 1.305 GB, free: 5.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.061, allocations: 0 / 1.305 GB, free: 5.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002343/1.064, allocations: 0.8149 MB / 1.305 GB, free: 4.398 MB / 1.029 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.001065/1.065, allocations: 486.5 kB / 1.306 GB, free: 3.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006398/1.071, allocations: 2.044 MB / 1.308 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.071, allocations: 0 / 1.308 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.073, allocations: 0.7263 MB / 1.309 GB, free: 1.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/1.078, allocations: 0.8096 MB / 1.309 GB, free: 356 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/1.083, allocations: 2.923 MB / 1.312 GB, free: 13.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/1.084, allocations: 1.281 MB / 1.313 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001811/1.086, allocations: 432.1 kB / 1.314 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.087, allocations: 131.3 kB / 1.314 GB, free: 11.46 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/1.087, allocations: 0 / 1.314 GB, free: 11.46 MB / 1.045 GB Notification: Performance of Templates: time 0.06002/1.147, allocations: 34.48 MB / 1.348 GB, free: 9.352 MB / 1.076 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 -s cvode -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