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.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.001426/0.001426, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001835/0.001835, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002174/0.002174, allocations: 72.3 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003962/0.361, allocations: 2.281 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.3633, allocations: 1.351 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3635, allocations: 7.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.364, allocations: 179 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3642, allocations: 71.36 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.3646, allocations: 143.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.365, allocations: 326.8 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3651, allocations: 40.75 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.3654, allocations: 147.5 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3657, allocations: 171.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.3657, allocations: 36 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.3659, allocations: 79.91 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.366, allocations: 115.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3662, allocations: 147.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.3668, allocations: 0.4903 MB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3668, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3668, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3668, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 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.001319/0.3681, allocations: 0.6483 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3681, allocations: 8.031 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.3693, allocations: 184.4 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.3698, allocations: 308.6 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.37, allocations: 199 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.3701, allocations: 12.38 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.3708, allocations: 300.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3708, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3709, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3709, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.372, allocations: 420.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3737, allocations: 0.7181 MB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.3743, allocations: 258.4 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.3749, allocations: 208.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3749, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.375, allocations: 38.56 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.375, allocations: 4 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001849/0.3768, allocations: 0.6474 MB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3769, allocations: 59.34 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.3774, allocations: 421.6 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.3774, allocations: 25.7 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3776, allocations: 180.5 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.3777, allocations: 63.47 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.3778, allocations: 37.7 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.378, allocations: 350.8 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.3786, allocations: 195.8 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.3792, allocations: 310.3 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3802, allocations: 368.5 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3802, allocations: 0 / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001247/0.3815, allocations: 474.1 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3815, allocations: 9.562 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3815, allocations: 0 / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3815, allocations: 0 / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.382, allocations: 59.92 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.382, allocations: 3.938 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.3823, allocations: 51.78 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.3824, allocations: 7.984 kB / 1.338 GB, free: 5.531 MB / 1.029 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.0002096/0.3826, allocations: 166.3 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.3827, allocations: 35.77 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.3827, allocations: 43.44 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3827, allocations: 0 / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3827, allocations: 0 / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3828, allocations: 3.938 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.3833, allocations: 342.8 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3833, allocations: 0 / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.3837, allocations: 63.97 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3837, allocations: 3.984 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3837, allocations: 4 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3837, allocations: 3.984 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3837, allocations: 3.938 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.385, allocations: 0.5536 MB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.3851, allocations: 43.77 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.3851, allocations: 3.984 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3855, allocations: 39.89 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.3856, allocations: 27.95 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3856, allocations: 4 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003586/0.386, allocations: 307.1 kB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.386, allocations: 4 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003352/0.3863, allocations: 67.95 kB / 1.34 GB, free: 3.781 MB / 1.029 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.0001593/0.3865, allocations: 107.1 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.3877, allocations: 421.6 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3877, allocations: 0 / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.3883, allocations: 219.7 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3887, allocations: 55.22 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3903, allocations: 0.7071 MB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3905, allocations: 187.5 kB / 1.341 GB, free: 2.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3907, allocations: 27.42 kB / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3907, allocations: 0 / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of Templates: time 0.008386/0.3991, allocations: 5.125 MB / 1.346 GB, free: 12.93 MB / 1.045 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/jenkins1/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: 11.416244405787438]