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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8524, allocations: 160.8 MB / 1.218 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07519/0.9275, allocations: 63.69 MB / 1.281 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.9502, allocations: 13.73 MB / 1.294 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.9529, allocations: 79.38 kB / 1.294 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004585/0.9575, allocations: 0.9823 MB / 1.295 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008665/0.9661, allocations: 2.591 MB / 1.298 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.9714, allocations: 1.654 MB / 1.299 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008118/0.9795, allocations: 4.405 MB / 1.304 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.9826, allocations: 1.133 MB / 1.305 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00651/0.9891, allocations: 1.717 MB / 1.306 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/0.9927, allocations: 1.354 MB / 1.308 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005914/0.9933, allocations: 176 kB / 1.308 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/0.998, allocations: 1.474 MB / 1.309 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007498/0.9987, allocations: 0.5255 MB / 1.31 GB, free: 9.488 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/1.001, allocations: 1.007 MB / 1.311 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006473/1.007, allocations: 3.188 MB / 1.314 GB, free: 5.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.007, allocations: 0 / 1.314 GB, free: 5.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.007, allocations: 0 / 1.314 GB, free: 5.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.773e-05/1.007, allocations: 4 kB / 1.314 GB, free: 5.277 MB / 1.014 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.005793/1.013, allocations: 2.405 MB / 1.316 GB, free: 2.809 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.013, allocations: 8.031 kB / 1.316 GB, free: 2.801 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/1.016, allocations: 0.5422 MB / 1.317 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/1.02, allocations: 1.509 MB / 1.318 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/1.02, allocations: 157.5 kB / 1.318 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/1.02, allocations: 115.9 kB / 1.318 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/1.024, allocations: 1.561 MB / 1.32 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/1.024, allocations: 0 / 1.32 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.025, allocations: 44 kB / 1.32 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/1.025, allocations: 32 kB / 1.32 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/1.029, allocations: 1.565 MB / 1.322 GB, free: 13.13 MB / 1.029 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.01172/1.041, allocations: 6.948 MB / 1.328 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/1.044, allocations: 1.225 MB / 1.33 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.045, allocations: 0.6351 MB / 1.33 GB, free: 3.797 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.047, allocations: 1.145 MB / 1.331 GB, free: 2.395 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.047, allocations: 43.22 kB / 1.331 GB, free: 2.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=77): time 2.555e-06/1.047, allocations: 4 kB / 1.331 GB, free: 2.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=77): time 0.00599/1.053, allocations: 1.902 MB / 1.333 GB, free: 440 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.053, allocations: 115.5 kB / 1.333 GB, free: 300 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/1.055, allocations: 1.42 MB / 1.335 GB, free: 14.86 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/1.055, allocations: 41.7 kB / 1.335 GB, free: 14.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007961/1.056, allocations: 0.7214 MB / 1.335 GB, free: 14.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/1.057, allocations: 277.5 kB / 1.336 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/1.057, allocations: 186.6 kB / 1.336 GB, free: 13.62 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.057, allocations: 334 kB / 1.336 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.059, allocations: 0.598 MB / 1.337 GB, free: 12.69 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/1.061, allocations: 0.8361 MB / 1.338 GB, free: 11.76 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/1.065, allocations: 1.312 MB / 1.339 GB, free: 10.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/1.065, allocations: 3.938 kB / 1.339 GB, free: 10.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004507/1.069, allocations: 1.562 MB / 1.34 GB, free: 8.809 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.069, allocations: 8 kB / 1.34 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.069, allocations: 4 kB / 1.34 GB, free: 8.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-05/1.069, allocations: 12 kB / 1.34 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.071, allocations: 312 kB / 1.341 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.071, allocations: 15.98 kB / 1.341 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.072, allocations: 195.1 kB / 1.341 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.072, allocations: 43.97 kB / 1.341 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002447/1.075, allocations: 0.9 MB / 1.342 GB, free: 7.328 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002029/1.077, allocations: 0.8244 MB / 1.343 GB, free: 6.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003471/1.08, allocations: 1.32 MB / 1.344 GB, free: 5.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.08, allocations: 4 kB / 1.344 GB, free: 5.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004443/1.085, allocations: 1.551 MB / 1.346 GB, free: 3.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.085, allocations: 12.09 kB / 1.346 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.085, allocations: 4 kB / 1.346 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.085, allocations: 8 kB / 1.346 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.086, allocations: 311.5 kB / 1.346 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.086, allocations: 8 kB / 1.346 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.088, allocations: 179.3 kB / 1.346 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.088, allocations: 47.91 kB / 1.346 GB, free: 2.906 MB / 1.045 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.0004064/1.089, allocations: 236 kB / 1.346 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/1.089, allocations: 159 kB / 1.346 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.093, allocations: 1.696 MB / 1.348 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.093, allocations: 11.94 kB / 1.348 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.093, allocations: 0 / 1.348 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/1.097, allocations: 1.324 MB / 1.349 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007683/1.104, allocations: 3.395 MB / 1.353 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.104, allocations: 4.562 kB / 1.353 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.106, allocations: 227.7 kB / 1.353 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.106, allocations: 15.94 kB / 1.353 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/1.106, allocations: 23.98 kB / 1.353 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.106, allocations: 15.92 kB / 1.353 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.106, allocations: 7.938 kB / 1.353 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/1.112, allocations: 2.42 MB / 1.355 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.113, allocations: 403.6 kB / 1.356 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.114, allocations: 19.98 kB / 1.356 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.115, allocations: 135.9 kB / 1.356 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/1.115, allocations: 88.25 kB / 1.356 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.115, allocations: 51.89 kB / 1.356 GB, free: 8.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001821/1.117, allocations: 1.076 MB / 1.357 GB, free: 7.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.117, allocations: 0 / 1.357 GB, free: 7.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002294/1.12, allocations: 0.8227 MB / 1.358 GB, free: 6.523 MB / 1.061 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.001095/1.121, allocations: 470.1 kB / 1.358 GB, free: 6.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006095/1.127, allocations: 2.059 MB / 1.36 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.127, allocations: 0 / 1.36 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/1.129, allocations: 0.7259 MB / 1.361 GB, free: 3.277 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.133, allocations: 0.8175 MB / 1.362 GB, free: 2.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/1.139, allocations: 2.94 MB / 1.365 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.14, allocations: 1.277 MB / 1.366 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001826/1.141, allocations: 416.2 kB / 1.366 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/1.142, allocations: 127.4 kB / 1.366 GB, free: 13.59 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/1.142, allocations: 0 / 1.366 GB, free: 13.59 MB / 1.076 GB Notification: Performance of Templates: time 0.06831/1.21, allocations: 35.08 MB / 1.401 GB, free: 10.89 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.061182203702629]