Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.001562/0.001562, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002171/0.002171, allocations: 192 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.84 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003883/0.3833, allocations: 2.418 MB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3854, allocations: 1.413 MB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3855, allocations: 4 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.3861, allocations: 214.8 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3862, allocations: 79.28 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3865, allocations: 115.7 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.387, allocations: 322.8 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3871, allocations: 36.86 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3873, allocations: 143.5 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3876, allocations: 191.3 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.3876, allocations: 32 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3878, allocations: 63.97 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3879, allocations: 123.6 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3881, allocations: 171.1 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.3887, allocations: 498.1 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3887, allocations: 4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3887, allocations: 4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3887, allocations: 0 / 1.313 GB, free: 11.95 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00133/0.39, allocations: 0.6443 MB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3901, allocations: 8.031 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.391, allocations: 144.5 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.3915, allocations: 300.7 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3916, allocations: 84.19 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.3917, allocations: 8.375 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.3925, allocations: 308.8 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3925, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.3926, allocations: 8 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3926, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3938, allocations: 416.4 kB / 1.315 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.3956, allocations: 0.8342 MB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.3963, allocations: 258.4 kB / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/0.3969, allocations: 208.7 kB / 1.316 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.3969, allocations: 0 / 1.316 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.397, allocations: 38.5 kB / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.397, allocations: 0 / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.00195/0.3989, allocations: 0.6555 MB / 1.317 GB, free: 7.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.399, allocations: 63.34 kB / 1.317 GB, free: 7.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.3995, allocations: 421.6 kB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.3995, allocations: 29.7 kB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3997, allocations: 188 kB / 1.317 GB, free: 7.211 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.3997, allocations: 51.55 kB / 1.317 GB, free: 7.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3998, allocations: 45.69 kB / 1.317 GB, free: 7.109 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4, allocations: 342.8 kB / 1.318 GB, free: 6.766 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.4006, allocations: 195.9 kB / 1.318 GB, free: 6.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.4012, allocations: 237.1 kB / 1.318 GB, free: 6.332 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.4023, allocations: 364.6 kB / 1.319 GB, free: 5.973 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4023, allocations: 0 / 1.319 GB, free: 5.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001442/0.4037, allocations: 471 kB / 1.319 GB, free: 5.508 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.4037, allocations: 4 kB / 1.319 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4037, allocations: 0 / 1.319 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.4038, allocations: 0 / 1.319 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.4044, allocations: 67.86 kB / 1.319 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.4045, allocations: 7.922 kB / 1.319 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.4049, allocations: 47.83 kB / 1.319 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.4049, allocations: 4 kB / 1.319 GB, free: 5.379 MB / 1.014 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.0002894/0.4052, allocations: 165.8 kB / 1.319 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.4053, allocations: 35.77 kB / 1.319 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.4054, allocations: 43.53 kB / 1.319 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4054, allocations: 8 kB / 1.319 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4054, allocations: 7.938 kB / 1.319 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4054, allocations: 3.984 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.4061, allocations: 446 kB / 1.32 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4061, allocations: 0 / 1.32 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.4066, allocations: 63.86 kB / 1.32 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4066, allocations: 0 / 1.32 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.4066, allocations: 8 kB / 1.32 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4066, allocations: 3.938 kB / 1.32 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.4066, allocations: 11.92 kB / 1.32 GB, free: 4.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4079, allocations: 0.5478 MB / 1.32 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.408, allocations: 51.66 kB / 1.32 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.4081, allocations: 7.984 kB / 1.32 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.4085, allocations: 31.95 kB / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4086, allocations: 27.89 kB / 1.321 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.4086, allocations: 8 kB / 1.321 GB, free: 3.855 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004052/0.409, allocations: 307.1 kB / 1.321 GB, free: 3.559 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.409, allocations: 0 / 1.321 GB, free: 3.559 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003658/0.4094, allocations: 60 kB / 1.321 GB, free: 3.5 MB / 1.014 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.0002014/0.4096, allocations: 104 kB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.411, allocations: 431.5 kB / 1.321 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.411, allocations: 0 / 1.321 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.4116, allocations: 215.8 kB / 1.322 GB, free: 2.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.4121, allocations: 47.36 kB / 1.322 GB, free: 2.711 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4137, allocations: 0.681 MB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4142, allocations: 0.7909 MB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.4145, allocations: 62.3 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4147, allocations: 31.42 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/0.4147, allocations: 3.938 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of Templates: time 0.009409/0.4241, allocations: 4.421 MB / 1.328 GB, free: 12.72 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.56469938904047]