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.0007852/0.0007852, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009934/0.001779, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007034/0.0007034, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009101/0.001614, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9885/0.9885, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08801/1.077, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.355/2.355, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2285/2.584, allocations: 145.9 MB / 0.817 GB, free: 4.215 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 1.693e-06/1.693e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.162e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002588/0.00261, allocations: 2.462 MB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.004543, allocations: 1.468 MB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.004671, allocations: 7.938 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.005113, allocations: 178.9 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.005222, allocations: 87.22 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.00551, allocations: 123.6 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.005828, allocations: 342.6 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.005924, allocations: 38.81 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.006231, allocations: 251.9 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.006459, allocations: 171.6 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.006501, allocations: 32 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.006631, allocations: 75.89 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.006711, allocations: 99.7 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.006792, allocations: 91.73 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.00709, allocations: 299 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.485e-05/0.007105, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007106, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.007123, allocations: 0 / 0.8238 GB, free: 13.18 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.0007521/0.007876, allocations: 0.6622 MB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.007907, allocations: 12.62 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.008389, allocations: 225.8 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.008651, allocations: 244 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.008766, allocations: 207 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.008789, allocations: 8.375 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.009073, allocations: 187.4 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.009082, allocations: 192 / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.009102, allocations: 12.12 kB / 0.8254 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.009107, allocations: 0 / 0.8254 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.009272, allocations: 94.02 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.009896, allocations: 406.7 kB / 0.8258 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01009, allocations: 162.3 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.01017, allocations: 60.84 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.0102, allocations: 4 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.01022, allocations: 34.56 kB / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.01022, allocations: 0 / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003181/0.01054, allocations: 197.8 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.01057, allocations: 51.41 kB / 0.8263 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01075, allocations: 319.4 kB / 0.8266 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01077, allocations: 29.7 kB / 0.8266 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.01083, allocations: 141.4 kB / 0.8268 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.01087, allocations: 55.53 kB / 0.8268 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.01094, allocations: 41.67 kB / 0.8269 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.01103, allocations: 342.8 kB / 0.8272 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.01111, allocations: 42.81 kB / 0.8272 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01124, allocations: 163.2 kB / 0.8274 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01138, allocations: 106.4 kB / 0.8275 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01139, allocations: 0 / 0.8275 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002034/0.01159, allocations: 158 kB / 0.8277 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.0116, allocations: 4 kB / 0.8277 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01161, allocations: 0 / 0.8277 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.01161, allocations: 0 / 0.8277 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.01183, allocations: 55.94 kB / 0.8277 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01183, allocations: 4 kB / 0.8277 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.01193, allocations: 23.88 kB / 0.8277 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01195, allocations: 7.984 kB / 0.8277 GB, free: 8.945 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 9.44e-05/0.01204, allocations: 128.5 kB / 0.8279 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.01208, allocations: 23.97 kB / 0.8279 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.01212, allocations: 35.45 kB / 0.8279 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01212, allocations: 4 kB / 0.8279 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01212, allocations: 4 kB / 0.8279 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01213, allocations: 0 / 0.8279 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.01234, allocations: 209.6 kB / 0.8281 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01234, allocations: 0 / 0.8281 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.01251, allocations: 59.81 kB / 0.8282 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.01281, allocations: 39.7 kB / 0.8282 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01281, allocations: 0 / 0.8282 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01282, allocations: 7.984 kB / 0.8282 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01283, allocations: 4 kB / 0.8282 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01283, allocations: 0 / 0.8282 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.01308, allocations: 300.2 kB / 0.8285 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.01311, allocations: 4 kB / 0.8285 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01322, allocations: 15.98 kB / 0.8285 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.01328, allocations: 23.95 kB / 0.8286 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01329, allocations: 48 / 0.8286 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.859e-05/0.01339, allocations: 140.7 kB / 0.8287 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01339, allocations: 0 / 0.8287 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001752/0.01356, allocations: 67.94 kB / 0.8288 GB, free: 7.852 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.0001028/0.01367, allocations: 88.33 kB / 0.8288 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.01389, allocations: 132.7 kB / 0.829 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.0139, allocations: 7.984 kB / 0.829 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.014, allocations: 78.64 kB / 0.8291 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01428, allocations: 89.45 kB / 0.8291 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.01673, allocations: 0.5828 MB / 0.8297 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.0168, allocations: 108.1 kB / 0.8298 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.01693, allocations: 30.3 kB / 0.8298 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.01712, allocations: 107.3 kB / 0.8299 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.01712, allocations: 4 kB / 0.8299 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.006496/0.02361, allocations: 4.814 MB / 0.8347 GB, free: 1.867 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165825750678778]