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.002494/0.002494, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.002335/0.002335, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.373/3.373, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 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.002152/0.002152, allocations: 74.2 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4496, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004238/0.4539, allocations: 2.415 MB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.4569, allocations: 1.472 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.457, allocations: 4 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.4577, allocations: 206.9 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.4579, allocations: 83.28 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.4583, allocations: 127.7 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.4588, allocations: 338.7 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4589, allocations: 28.73 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.4592, allocations: 151.5 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.4595, allocations: 179.4 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.4595, allocations: 32 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4597, allocations: 79.89 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.4599, allocations: 135.6 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.4601, allocations: 167.1 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.4607, allocations: 0.4981 MB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4607, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4607, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.4607, allocations: 4 kB / 1.327 GB, free: 12.92 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.001512/0.4622, allocations: 0.7159 MB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4623, allocations: 15.98 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.4635, allocations: 184.4 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.4641, allocations: 370.4 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.4642, allocations: 88.19 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.4643, allocations: 8.375 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.4651, allocations: 304.1 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4651, allocations: 3.938 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.4652, allocations: 4 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4652, allocations: 4 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4664, allocations: 412.4 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.4683, allocations: 0.8704 MB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.4691, allocations: 254.4 kB / 1.33 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.4697, allocations: 208.7 kB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4697, allocations: 0 / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4698, allocations: 38.56 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.4698, allocations: 4 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.002019/0.4718, allocations: 0.6475 MB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.4719, allocations: 59.34 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.4724, allocations: 425.6 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4725, allocations: 29.7 kB / 1.331 GB, free: 8.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4726, allocations: 180 kB / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.113e-05/0.4727, allocations: 59.48 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4728, allocations: 41.69 kB / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.473, allocations: 350.8 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.4736, allocations: 191.9 kB / 1.332 GB, free: 7.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.4743, allocations: 233.8 kB / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.4754, allocations: 368.5 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4754, allocations: 4 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001343/0.4768, allocations: 474.7 kB / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4768, allocations: 8 kB / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4768, allocations: 0 / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4768, allocations: 0 / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.4773, allocations: 63.97 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4773, allocations: 7.875 kB / 1.333 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.4777, allocations: 47.83 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.4777, allocations: 7.984 kB / 1.333 GB, free: 6.082 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.0002174/0.4779, allocations: 169.8 kB / 1.334 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.478, allocations: 39.77 kB / 1.334 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.4781, allocations: 39.59 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4781, allocations: 4 kB / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4781, allocations: 3.938 kB / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4781, allocations: 0 / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.4787, allocations: 471 kB / 1.334 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4787, allocations: 0 / 1.334 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.4792, allocations: 63.86 kB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4792, allocations: 0 / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4792, allocations: 8 kB / 1.334 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4792, allocations: 4 kB / 1.334 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4792, allocations: 3.938 kB / 1.334 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.4806, allocations: 0.5556 MB / 1.335 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4807, allocations: 120.8 kB / 1.335 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.4808, allocations: 3.984 kB / 1.335 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4811, allocations: 39.89 kB / 1.335 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4812, allocations: 27.91 kB / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4813, allocations: 4 kB / 1.335 GB, free: 4.461 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003807/0.4817, allocations: 307.1 kB / 1.335 GB, free: 4.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 8 kB / 1.335 GB, free: 4.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003508/0.482, allocations: 64 kB / 1.335 GB, free: 4.09 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.0001828/0.4822, allocations: 107.2 kB / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.4835, allocations: 419.6 kB / 1.336 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4835, allocations: 0 / 1.336 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.4841, allocations: 219.8 kB / 1.336 GB, free: 3.348 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.4846, allocations: 53.42 kB / 1.336 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.4862, allocations: 0.6807 MB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.4867, allocations: 0.7909 MB / 1.337 GB, free: 1.766 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000253/0.4869, allocations: 66.25 kB / 1.338 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.4871, allocations: 27.42 kB / 1.338 GB, free: 1.676 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4871, allocations: 0 / 1.338 GB, free: 1.676 MB / 1.029 GB Notification: Performance of Templates: time 0.009794/0.4969, allocations: 4.332 MB / 1.342 GB, free: 13.39 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 -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.876381637062877]