Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002071/0.002071, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002279/0.002279, allocations: 219.7 kB / 22.3 MB, free: 5.301 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.497/1.497, allocations: 230.6 MB / 256.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.496/3.496, allocations: 0.5107 GB / 0.8159 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002122/0.002122, allocations: 70.48 kB / 1.186 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4257, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004154/0.4298, allocations: 2.304 MB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.4323, allocations: 1.343 MB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4324, allocations: 8 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.4331, allocations: 179 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.4332, allocations: 75.3 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.4336, allocations: 143.7 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.4341, allocations: 330.7 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4342, allocations: 32.86 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.4345, allocations: 143.5 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4348, allocations: 171.3 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.4349, allocations: 32 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.435, allocations: 75.97 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.4352, allocations: 119.6 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.4354, allocations: 151.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.436, allocations: 0.4903 MB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.436, allocations: 4 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.436, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.436, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 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.001403/0.4374, allocations: 0.6444 MB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4374, allocations: 12.03 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.4386, allocations: 180.5 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.4392, allocations: 300.7 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4394, allocations: 202.9 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.4394, allocations: 12.38 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.4402, allocations: 303.4 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4403, allocations: 0 / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.4403, allocations: 7.938 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4403, allocations: 4 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4415, allocations: 416.4 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4432, allocations: 0.7271 MB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.4439, allocations: 254.4 kB / 1.372 GB, free: 4.766 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.4444, allocations: 204.7 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.4445, allocations: 4 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4445, allocations: 34.5 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.4445, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001937/0.4464, allocations: 0.6555 MB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.4465, allocations: 55.41 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.447, allocations: 425.6 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.447, allocations: 25.7 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.4472, allocations: 180.5 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.4473, allocations: 63.47 kB / 1.374 GB, free: 3.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4474, allocations: 41.7 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4475, allocations: 346.8 kB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.4481, allocations: 191.8 kB / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.4487, allocations: 312.3 kB / 1.375 GB, free: 2.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4498, allocations: 373.9 kB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4498, allocations: 0 / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001223/0.451, allocations: 466.5 kB / 1.376 GB, free: 1.344 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.451, allocations: 8 kB / 1.376 GB, free: 1.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4511, allocations: 3.938 kB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4511, allocations: 0 / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.4515, allocations: 67.86 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4516, allocations: 4 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.4519, allocations: 43.78 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4519, allocations: 7.984 kB / 1.376 GB, free: 1.211 MB / 1.061 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.0002046/0.4521, allocations: 165.8 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.4522, allocations: 35.77 kB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.4523, allocations: 43.44 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4523, allocations: 4 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4523, allocations: 0 / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4523, allocations: 3.938 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.4528, allocations: 343 kB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4528, allocations: 0 / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.4532, allocations: 63.86 kB / 1.376 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4532, allocations: 4 kB / 1.376 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.4533, allocations: 11.98 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4533, allocations: 0 / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4533, allocations: 0 / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4546, allocations: 0.5638 MB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.4547, allocations: 39.75 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.4547, allocations: 3.938 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4551, allocations: 31.95 kB / 1.377 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4552, allocations: 27.95 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.4552, allocations: 4 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000363/0.4556, allocations: 311.1 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4556, allocations: 3.938 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000357/0.4559, allocations: 60 kB / 1.377 GB, free: 15.46 MB / 1.076 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.000169/0.4561, allocations: 107.2 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.4573, allocations: 419.6 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4573, allocations: 8 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.4579, allocations: 211.8 kB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.4584, allocations: 45.48 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4598, allocations: 0.6837 MB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.46, allocations: 187.5 kB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.4603, allocations: 62.3 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4604, allocations: 28.5 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.4604, allocations: 4 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of Templates: time 0.009461/0.4699, allocations: 4.488 MB / 1.383 GB, free: 9.258 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.711788307875395]