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.0009102/0.0009102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002078, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007109/0.0007109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001625, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9944/0.9944, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.341/2.341, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2658/2.607, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/2.036e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003949/0.003969, allocations: 2.458 MB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.006089, allocations: 1.467 MB / 0.8228 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006231, allocations: 0 / 0.8228 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.006748, allocations: 190.9 kB / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.006882, allocations: 79.23 kB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.00719, allocations: 131.6 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.007584, allocations: 342.6 kB / 0.8235 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.007704, allocations: 34.83 kB / 0.8235 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.008087, allocations: 251.9 kB / 0.8237 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.008387, allocations: 167.6 kB / 0.8239 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.008445, allocations: 28 kB / 0.8239 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.008613, allocations: 79.89 kB / 0.824 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.008731, allocations: 103.7 kB / 0.8241 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.008836, allocations: 83.81 kB / 0.8242 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.009251, allocations: 302.9 kB / 0.8245 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.009266, allocations: 4 kB / 0.8245 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.31e-07/0.009266, allocations: 0 / 0.8245 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.009286, allocations: 0 / 0.8245 GB, free: 12.78 MB / 0.8073 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.001141/0.01043, allocations: 0.6661 MB / 0.8251 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.01048, allocations: 8.031 kB / 0.8251 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.01123, allocations: 233.8 kB / 0.8254 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.01163, allocations: 244 kB / 0.8256 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.0118, allocations: 191 kB / 0.8258 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.01184, allocations: 12.38 kB / 0.8258 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.01225, allocations: 190.3 kB / 0.826 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01226, allocations: 4.188 kB / 0.826 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.01229, allocations: 12.06 kB / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.0123, allocations: 4 kB / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.01253, allocations: 88.66 kB / 0.8261 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009139/0.01345, allocations: 410.6 kB / 0.8265 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.01372, allocations: 152 kB / 0.8266 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01384, allocations: 64.83 kB / 0.8267 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.01387, allocations: 4 kB / 0.8267 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.0139, allocations: 38.56 kB / 0.8267 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.0139, allocations: 0 / 0.8267 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0008576/0.01476, allocations: 196.3 kB / 0.8269 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.01481, allocations: 63.39 kB / 0.827 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.01509, allocations: 311.4 kB / 0.8273 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.01513, allocations: 29.7 kB / 0.8273 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.01522, allocations: 133.4 kB / 0.8274 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.01529, allocations: 63.47 kB / 0.8275 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.01538, allocations: 37.69 kB / 0.8275 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01552, allocations: 350.7 kB / 0.8278 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01563, allocations: 46.81 kB / 0.8279 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01579, allocations: 152.5 kB / 0.828 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.016, allocations: 108.4 kB / 0.8281 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.016, allocations: 0 / 0.8281 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002957/0.0163, allocations: 156.3 kB / 0.8283 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.01632, allocations: 8 kB / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01632, allocations: 0 / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01634, allocations: 0 / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.01664, allocations: 47.95 kB / 0.8283 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01665, allocations: 3.984 kB / 0.8283 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.0168, allocations: 27.88 kB / 0.8284 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.01682, allocations: 7.984 kB / 0.8284 GB, free: 8.535 MB / 0.8073 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.0001337/0.01696, allocations: 132.5 kB / 0.8285 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.01702, allocations: 23.98 kB / 0.8285 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.01708, allocations: 39.44 kB / 0.8286 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01708, allocations: 0 / 0.8286 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01708, allocations: 4 kB / 0.8286 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01709, allocations: 0 / 0.8286 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.0174, allocations: 213.6 kB / 0.8288 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0174, allocations: 0 / 0.8288 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.01765, allocations: 59.81 kB / 0.8288 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.0177, allocations: 31.77 kB / 0.8289 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.0177, allocations: 8 kB / 0.8289 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.01772, allocations: 3.984 kB / 0.8289 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01772, allocations: 0 / 0.8289 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01773, allocations: 0 / 0.8289 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.01809, allocations: 296.3 kB / 0.8292 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.01813, allocations: 8.047 kB / 0.8292 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.0183, allocations: 19.95 kB / 0.8292 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.01839, allocations: 23.95 kB / 0.8292 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.01841, allocations: 8 kB / 0.8292 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001423/0.01855, allocations: 128.7 kB / 0.8293 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01855, allocations: 0 / 0.8293 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002717/0.01882, allocations: 71.88 kB / 0.8294 GB, free: 7.441 MB / 0.8073 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.0001421/0.01896, allocations: 92.33 kB / 0.8295 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.01928, allocations: 128.7 kB / 0.8296 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.01929, allocations: 8 kB / 0.8296 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.01945, allocations: 91.05 kB / 0.8297 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.02, allocations: 466.2 kB / 0.8302 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.02354, allocations: 0.5785 MB / 0.8307 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.372e-05/0.02363, allocations: 108.2 kB / 0.8308 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.02383, allocations: 38.27 kB / 0.8309 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.02411, allocations: 107.3 kB / 0.831 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of SimCode: time 1.252e-06/0.02411, allocations: 0 / 0.831 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of Templates: time 0.009008/0.03312, allocations: 4.811 MB / 0.8357 GB, free: 0.9961 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.202679383568466]