Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00178/0.00178, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001998/0.001998, allocations: 186 kB / 20.78 MB, free: 1.547 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.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.4 MB / 0.7304 GB, free: 13.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 68.12 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3655, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00433/0.3698, allocations: 2.411 MB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3724, allocations: 1.422 MB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3725, allocations: 0 / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.3732, allocations: 206.8 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3733, allocations: 79.34 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3737, allocations: 111.7 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.3741, allocations: 330.8 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3742, allocations: 32.73 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3744, allocations: 135.5 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.3747, allocations: 187.4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.3748, allocations: 35.94 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.375, allocations: 71.95 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3751, allocations: 115.6 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.3754, allocations: 179.1 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.3761, allocations: 498.1 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3761, allocations: 0 / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3761, allocations: 0 / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3761, allocations: 0 / 1.222 GB, free: 9.496 MB / 0.9669 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.001487/0.3776, allocations: 0.7235 MB / 1.222 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3776, allocations: 8.031 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.3785, allocations: 148.5 kB / 1.223 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.379, allocations: 354.6 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3792, allocations: 92.17 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.3792, allocations: 8.375 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.3801, allocations: 299.4 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3801, allocations: 0 / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.3801, allocations: 8 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3801, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3813, allocations: 420.4 kB / 1.224 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3832, allocations: 0.8587 MB / 1.225 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.3838, allocations: 254.4 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.3844, allocations: 208.7 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3844, allocations: 11.86 kB / 1.225 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3845, allocations: 42.55 kB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.3845, allocations: 0 / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001809/0.3863, allocations: 0.6474 MB / 1.226 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3863, allocations: 59.34 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.3869, allocations: 421.6 kB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.3869, allocations: 29.7 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3871, allocations: 188 kB / 1.226 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3873, allocations: 63.47 kB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3874, allocations: 33.7 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003025/0.3877, allocations: 346.8 kB / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.3883, allocations: 191.9 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.3889, allocations: 235.3 kB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3899, allocations: 374.2 kB / 1.228 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.39, allocations: 0 / 1.228 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001167/0.3911, allocations: 463.3 kB / 1.228 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3911, allocations: 4 kB / 1.228 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3911, allocations: 0 / 1.228 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3912, allocations: 4 kB / 1.228 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.3916, allocations: 59.92 kB / 1.228 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3916, allocations: 7.938 kB / 1.228 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.392, allocations: 43.83 kB / 1.228 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.392, allocations: 12 kB / 1.228 GB, free: 2.723 MB / 0.9669 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.0002393/0.3922, allocations: 165.8 kB / 1.228 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.3923, allocations: 35.77 kB / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3924, allocations: 39.59 kB / 1.228 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3924, allocations: 4 kB / 1.228 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3924, allocations: 3.938 kB / 1.228 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3924, allocations: 3.984 kB / 1.228 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.3931, allocations: 478.8 kB / 1.229 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3931, allocations: 4 kB / 1.229 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.3935, allocations: 63.86 kB / 1.229 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3935, allocations: 0 / 1.229 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3936, allocations: 11.98 kB / 1.229 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3936, allocations: 0 / 1.229 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3936, allocations: 3.938 kB / 1.229 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3948, allocations: 0.542 MB / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3949, allocations: 116.9 kB / 1.23 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.395, allocations: 11.98 kB / 1.23 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.3953, allocations: 35.95 kB / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3954, allocations: 23.91 kB / 1.23 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.3955, allocations: 7.984 kB / 1.23 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003881/0.3958, allocations: 311.1 kB / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3958, allocations: 0 / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003373/0.3962, allocations: 71.89 kB / 1.23 GB, free: 0.7305 MB / 0.9669 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.0001714/0.3963, allocations: 107.2 kB / 1.23 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.3976, allocations: 429.4 kB / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3976, allocations: 0 / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.3983, allocations: 223.8 kB / 1.231 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3988, allocations: 41.55 kB / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4004, allocations: 0.6883 MB / 1.231 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.4008, allocations: 0.7869 MB / 1.232 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.4011, allocations: 62.27 kB / 1.232 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.4012, allocations: 31.42 kB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/0.4012, allocations: 0 / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.0103/0.4115, allocations: 4.39 MB / 1.237 GB, free: 9.977 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.731605615466833]