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.001325/0.001325, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.001366/0.001366, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.15 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.678/2.678, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7768, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.0704/0.8472, allocations: 62.66 MB / 1.228 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.8682, allocations: 13.66 MB / 1.242 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.8704, allocations: 63.69 kB / 1.242 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.8733, allocations: 0.9783 MB / 1.243 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00735/0.8808, allocations: 2.54 MB / 1.245 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.8852, allocations: 1.616 MB / 1.247 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006593/0.8918, allocations: 4.302 MB / 1.251 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.8941, allocations: 1.417 MB / 1.252 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/0.8982, allocations: 1.677 MB / 1.254 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.9006, allocations: 1.295 MB / 1.255 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.901, allocations: 180 kB / 1.256 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.9042, allocations: 1.427 MB / 1.257 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.9048, allocations: 0.5062 MB / 1.257 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.9062, allocations: 1.003 MB / 1.258 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.9113, allocations: 3.185 MB / 1.262 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.9113, allocations: 0 / 1.262 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9114, allocations: 3.938 kB / 1.262 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-05/0.9114, allocations: 4 kB / 1.262 GB, free: 3.004 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.004922/0.9163, allocations: 2.401 MB / 1.264 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.9164, allocations: 12.92 kB / 1.264 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.9194, allocations: 0.5435 MB / 1.264 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.9222, allocations: 1.49 MB / 1.266 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.9224, allocations: 165.5 kB / 1.266 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.9226, allocations: 104 kB / 1.266 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.9263, allocations: 1.562 MB / 1.268 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.9264, allocations: 0 / 1.268 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9265, allocations: 48 kB / 1.268 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.9266, allocations: 35.88 kB / 1.268 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004484/0.9311, allocations: 1.561 MB / 1.269 GB, free: 10.87 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.01032/0.9414, allocations: 6.941 MB / 1.276 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.9444, allocations: 1.281 MB / 1.277 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.9463, allocations: 0.6668 MB / 1.278 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.9474, allocations: 1.153 MB / 1.279 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.9474, allocations: 43.22 kB / 1.279 GB, free: 0 / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 4.238e-06/0.9475, allocations: 3.938 kB / 1.279 GB, free: 16 MB / 1.014 GB Notification: Performance of matching and sorting (n=77): time 0.006178/0.9536, allocations: 1.91 MB / 1.281 GB, free: 14.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.9537, allocations: 111.5 kB / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.9559, allocations: 1.401 MB / 1.282 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.956, allocations: 45.7 kB / 1.283 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.9567, allocations: 0.7292 MB / 1.283 GB, free: 11.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.9571, allocations: 277.6 kB / 1.283 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.9574, allocations: 174.6 kB / 1.284 GB, free: 11.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9576, allocations: 341.9 kB / 1.284 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.9596, allocations: 0.5981 MB / 1.285 GB, free: 10.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.9617, allocations: 0.8244 MB / 1.285 GB, free: 9.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/0.9656, allocations: 1.324 MB / 1.287 GB, free: 8.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9656, allocations: 0 / 1.287 GB, free: 8.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004608/0.9702, allocations: 1.57 MB / 1.288 GB, free: 6.473 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.9702, allocations: 11.94 kB / 1.288 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9703, allocations: 4 kB / 1.288 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.9703, allocations: 8 kB / 1.288 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.9719, allocations: 307.7 kB / 1.289 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.9719, allocations: 8 kB / 1.289 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.9735, allocations: 191.2 kB / 1.289 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.9736, allocations: 43.98 kB / 1.289 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002466/0.9761, allocations: 0.9078 MB / 1.29 GB, free: 4.996 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002063/0.9781, allocations: 0.8167 MB / 1.29 GB, free: 4.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003777/0.9819, allocations: 1.312 MB / 1.292 GB, free: 2.715 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.9819, allocations: 7.938 kB / 1.292 GB, free: 2.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004842/0.9868, allocations: 1.554 MB / 1.293 GB, free: 1.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9868, allocations: 10.5 kB / 1.293 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9868, allocations: 4 kB / 1.293 GB, free: 1.133 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.9869, allocations: 16.48 kB / 1.293 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.9884, allocations: 307.5 kB / 1.294 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.9885, allocations: 15.94 kB / 1.294 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.99, allocations: 179.3 kB / 1.294 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.9901, allocations: 39.98 kB / 1.294 GB, free: 0.5859 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.0003672/0.9904, allocations: 232 kB / 1.294 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.9908, allocations: 162.9 kB / 1.294 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/0.9955, allocations: 1.692 MB / 1.296 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.9955, allocations: 8 kB / 1.296 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.9955, allocations: 0 / 1.296 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003815/0.9994, allocations: 1.312 MB / 1.297 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/1.007, allocations: 3.408 MB / 1.3 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.007, allocations: 8 kB / 1.3 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.008, allocations: 228.2 kB / 1.301 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/1.008, allocations: 8 kB / 1.301 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/1.008, allocations: 27.98 kB / 1.301 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.008, allocations: 8 kB / 1.301 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.008, allocations: 19.88 kB / 1.301 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006684/1.015, allocations: 2.412 MB / 1.303 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/1.016, allocations: 407.6 kB / 1.303 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/1.016, allocations: 16 kB / 1.303 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.018, allocations: 139.8 kB / 1.304 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.018, allocations: 84.34 kB / 1.304 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.018, allocations: 43.97 kB / 1.304 GB, free: 6.113 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001695/1.02, allocations: 1.079 MB / 1.305 GB, free: 5.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.02, allocations: 0 / 1.305 GB, free: 5.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002063/1.022, allocations: 0.8149 MB / 1.306 GB, free: 4.223 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.00102/1.023, allocations: 469.2 kB / 1.306 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006408/1.029, allocations: 2.138 MB / 1.308 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.029, allocations: 0 / 1.308 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.031, allocations: 0.7459 MB / 1.309 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/1.035, allocations: 0.8332 MB / 1.31 GB, free: 60 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/1.041, allocations: 2.919 MB / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.042, allocations: 1.281 MB / 1.314 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001769/1.044, allocations: 424.2 kB / 1.314 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/1.044, allocations: 127.4 kB / 1.314 GB, free: 11.19 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/1.044, allocations: 0 / 1.314 GB, free: 11.19 MB / 1.045 GB Notification: Performance of Templates: time 0.06339/1.108, allocations: 34.46 MB / 1.348 GB, free: 9.098 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