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.001517/0.001517, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001846/0.001846, allocations: 210.3 kB / 22.99 MB, free: 4.984 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.433/3.433, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] 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.002087/0.002087, allocations: 69.45 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4784, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004493/0.4829, allocations: 2.298 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.4857, allocations: 1.343 MB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.4858, allocations: 4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.4865, allocations: 179 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.4867, allocations: 87.22 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.4871, allocations: 127.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.4876, allocations: 334.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.4878, allocations: 40.77 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.4881, allocations: 143.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.4884, allocations: 195.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.4885, allocations: 32 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4886, allocations: 75.97 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.4888, allocations: 123.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.4889, allocations: 139.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.4896, allocations: 498.1 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4896, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4896, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.4896, allocations: 3.938 kB / 1.333 GB, free: 11.32 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.001465/0.4911, allocations: 0.6483 MB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4911, allocations: 12.02 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.4924, allocations: 184.4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.4929, allocations: 300.7 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.4931, allocations: 191 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.4932, allocations: 16.31 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/0.494, allocations: 305 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.494, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.494, allocations: 8 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.494, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4952, allocations: 420.4 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4968, allocations: 0.7181 MB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.4976, allocations: 254.4 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.4981, allocations: 212.7 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.4981, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.4982, allocations: 34.56 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.4982, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001864/0.5, allocations: 0.6514 MB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.5001, allocations: 59.34 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.5006, allocations: 421.6 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.5006, allocations: 25.7 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.5008, allocations: 180.5 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.5009, allocations: 67.47 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.501, allocations: 37.7 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5012, allocations: 350.8 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.5017, allocations: 191.8 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.5024, allocations: 316.3 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5034, allocations: 374.5 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5034, allocations: 0 / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001202/0.5046, allocations: 466.3 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5046, allocations: 8 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5046, allocations: 0 / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5046, allocations: 0 / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5051, allocations: 67.86 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5051, allocations: 0 / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.5055, allocations: 47.78 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.5055, allocations: 7.984 kB / 1.339 GB, free: 4.609 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.0002139/0.5057, allocations: 162.4 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.5058, allocations: 39.75 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.5059, allocations: 39.45 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5059, allocations: 0 / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5059, allocations: 4 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5059, allocations: 3.938 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.5064, allocations: 346.7 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5064, allocations: 0 / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.5068, allocations: 63.86 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5069, allocations: 0 / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.5069, allocations: 7.984 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.5069, allocations: 4 kB / 1.339 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5069, allocations: 0 / 1.339 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.5081, allocations: 0.555 MB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.5082, allocations: 43.75 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.5083, allocations: 4 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.5086, allocations: 35.95 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5087, allocations: 27.95 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.5088, allocations: 7.938 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003808/0.5091, allocations: 307.1 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5091, allocations: 0 / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003391/0.5095, allocations: 67.95 kB / 1.34 GB, free: 2.863 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.0001473/0.5096, allocations: 103.2 kB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.5108, allocations: 425.2 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5108, allocations: 0 / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.5114, allocations: 223.7 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.5118, allocations: 49.42 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.5133, allocations: 0.6683 MB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.5135, allocations: 183.5 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.5138, allocations: 66.3 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.514, allocations: 31.36 kB / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.514, allocations: 0 / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of Templates: time 0.01026/0.5242, allocations: 4.897 MB / 1.347 GB, free: 12.25 MB / 1.045 GB " [Timeout remaining time 299] 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 -s cvode -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: 9.997919696994359]