Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002812/0.002812, allocations: 213.1 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.443/3.443, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 63.5 kB / 1.186 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3899, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.006207/0.3961, allocations: 2.288 MB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.3996, allocations: 1.347 MB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.3999, allocations: 4 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009297/0.4008, allocations: 183 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.4011, allocations: 83.22 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.4016, allocations: 127.7 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.4023, allocations: 338.7 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.4025, allocations: 32.88 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.4029, allocations: 143.5 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.4034, allocations: 179.2 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.4035, allocations: 32 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.4037, allocations: 75.95 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4039, allocations: 115.7 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.4042, allocations: 139.2 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.4051, allocations: 0.4981 MB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4052, allocations: 4 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4052, allocations: 4 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.4052, allocations: 0 / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002008/0.4072, allocations: 0.6444 MB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4072, allocations: 8.031 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.4088, allocations: 180.5 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008008/0.4096, allocations: 304.7 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.4098, allocations: 198.9 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.4099, allocations: 12.38 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.4111, allocations: 303.4 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4112, allocations: 3.984 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.4112, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4112, allocations: 4 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.413, allocations: 420.4 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4156, allocations: 0.7228 MB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.4164, allocations: 254.4 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/0.4173, allocations: 208.7 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.4174, allocations: 0 / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.4174, allocations: 42.48 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4174, allocations: 0 / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.002722/0.4202, allocations: 0.6474 MB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4202, allocations: 55.41 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000811/0.421, allocations: 417.6 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.4211, allocations: 25.7 kB / 1.374 GB, free: 3.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.4213, allocations: 188.4 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4214, allocations: 67.47 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.4216, allocations: 41.62 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.4218, allocations: 346.8 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/0.4226, allocations: 195.9 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.4235, allocations: 312.3 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4251, allocations: 370.7 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4251, allocations: 0 / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00193/0.427, allocations: 465.1 kB / 1.375 GB, free: 1.422 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4271, allocations: 8 kB / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4271, allocations: 0 / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.4271, allocations: 0 / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.4278, allocations: 71.86 kB / 1.376 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.4278, allocations: 3.984 kB / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.4283, allocations: 51.77 kB / 1.376 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.4284, allocations: 4 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000306/0.4287, allocations: 162.9 kB / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.4288, allocations: 39.77 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.4289, allocations: 39.45 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4289, allocations: 4 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4289, allocations: 0 / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.429, allocations: 7.922 kB / 1.376 GB, free: 1.031 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.4296, allocations: 346.8 kB / 1.376 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4296, allocations: 0 / 1.376 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.4301, allocations: 59.88 kB / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4301, allocations: 7.984 kB / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4301, allocations: 0 / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4301, allocations: 0 / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4301, allocations: 7.938 kB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.432, allocations: 0.5556 MB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.4322, allocations: 39.8 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.4323, allocations: 7.938 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.4328, allocations: 35.91 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4329, allocations: 27.95 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.4329, allocations: 7.984 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004176/0.4333, allocations: 303.1 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4333, allocations: 0 / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006239/0.434, allocations: 64 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0002297/0.4342, allocations: 99.19 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.4361, allocations: 429.3 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4361, allocations: 0 / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.437, allocations: 219.8 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/0.4377, allocations: 54.56 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.44, allocations: 0.6786 MB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4403, allocations: 183.5 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000451/0.4408, allocations: 58.27 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.441, allocations: 31.42 kB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/0.441, allocations: 0 / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of Templates: time 0.01254/0.4535, allocations: 4.837 MB / 1.384 GB, free: 8.996 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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: 9.706569354981184]