Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001385/0.001385, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001803/0.001803, allocations: 218.2 kB / 23.01 MB, free: 4.609 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002063/0.002063, allocations: 68.67 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004051/0.3543, allocations: 2.432 MB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3567, allocations: 1.48 MB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3568, allocations: 7.938 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.3574, allocations: 206.8 kB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.3576, allocations: 75.34 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3579, allocations: 139.6 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.3584, allocations: 330.8 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3585, allocations: 36.86 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.3587, allocations: 143.4 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.359, allocations: 187.4 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.3591, allocations: 32 kB / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3592, allocations: 75.95 kB / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3594, allocations: 123.6 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3595, allocations: 171.1 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.3601, allocations: 0.4942 MB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3601, allocations: 4 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3601, allocations: 3.938 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3601, allocations: 0 / 1.29 GB, free: 5.344 MB / 0.9825 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.001284/0.3614, allocations: 0.6483 MB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3614, allocations: 8.031 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.3625, allocations: 184.4 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.3631, allocations: 308.7 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.3633, allocations: 195 kB / 1.292 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3633, allocations: 8.375 kB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.364, allocations: 300.1 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3641, allocations: 3.938 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3641, allocations: 11.98 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3641, allocations: 0 / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3652, allocations: 424.4 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.3668, allocations: 0.8345 MB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.3675, allocations: 258.4 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.368, allocations: 208.7 kB / 1.294 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.368, allocations: 3.984 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3681, allocations: 42.56 kB / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.3681, allocations: 0 / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001746/0.3698, allocations: 0.6441 MB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3699, allocations: 59.34 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.3704, allocations: 429.6 kB / 1.295 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.3704, allocations: 29.7 kB / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3706, allocations: 187.9 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.3706, allocations: 59.48 kB / 1.295 GB, free: 372 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3707, allocations: 45.69 kB / 1.295 GB, free: 320 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3709, allocations: 350.8 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.3714, allocations: 187.9 kB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.372, allocations: 231.3 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009783/0.373, allocations: 367.3 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.373, allocations: 8 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/0.3741, allocations: 461.1 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3741, allocations: 8 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3741, allocations: 3.938 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3742, allocations: 4 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.3746, allocations: 59.92 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3746, allocations: 3.938 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3749, allocations: 43.84 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.375, allocations: 7.984 kB / 1.297 GB, free: 14.59 MB / 0.9981 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.0002119/0.3752, allocations: 173.8 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.3753, allocations: 35.77 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.3753, allocations: 39.53 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3753, allocations: 7.938 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3753, allocations: 3.938 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3753, allocations: 0 / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.3759, allocations: 449.8 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3759, allocations: 0 / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.3763, allocations: 67.86 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3763, allocations: 4 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3763, allocations: 4 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3763, allocations: 7.984 kB / 1.298 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3763, allocations: 3.938 kB / 1.298 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3775, allocations: 0.5551 MB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3776, allocations: 35.77 kB / 1.298 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.3777, allocations: 11.98 kB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.378, allocations: 27.95 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3781, allocations: 31.89 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3781, allocations: 4 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003632/0.3785, allocations: 315.1 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3785, allocations: 0 / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003298/0.3788, allocations: 64 kB / 1.299 GB, free: 12.7 MB / 0.9981 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.0001333/0.3789, allocations: 99.19 kB / 1.299 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3801, allocations: 419.7 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3801, allocations: 0 / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.3807, allocations: 222 kB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3811, allocations: 65.36 kB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3825, allocations: 0.7206 MB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3829, allocations: 0.7909 MB / 1.301 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.3832, allocations: 31.41 kB / 1.301 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3832, allocations: 0 / 1.301 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.008045/0.3912, allocations: 5.029 MB / 1.306 GB, free: 5.305 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.526761593995616]