Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001319/0.001319, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001435/0.001435, allocations: 207.6 kB / 22.99 MB, free: 4.957 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.092/3.092, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [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.002083/0.002083, allocations: 70.66 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1648/0.4622, allocations: 131 MB / 1.455 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4638, allocations: 1.051 MB / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.4639, allocations: 7.938 kB / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.4642, allocations: 47.69 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.4649, allocations: 314.6 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.4653, allocations: 167.3 kB / 1.457 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.4657, allocations: 219.4 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4658, allocations: 45.27 kB / 1.457 GB, free: 11.63 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.4659, allocations: 47.8 kB / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.466, allocations: 67.69 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.466, allocations: 12 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.4664, allocations: 243.5 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.4664, allocations: 31.84 kB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.4665, allocations: 47.8 kB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.4669, allocations: 275 kB / 1.458 GB, free: 10.92 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4669, allocations: 8 kB / 1.458 GB, free: 10.91 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4669, allocations: 0 / 1.458 GB, free: 10.91 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4669, allocations: 0 / 1.458 GB, free: 10.91 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007153/0.4677, allocations: 401.3 kB / 1.458 GB, free: 10.49 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4677, allocations: 8.031 kB / 1.458 GB, free: 10.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.4682, allocations: 44.8 kB / 1.458 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4685, allocations: 155.5 kB / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4685, allocations: 15.88 kB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4685, allocations: 8 kB / 1.458 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4688, allocations: 117.6 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4688, allocations: 0 / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4688, allocations: 4 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4688, allocations: 4 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.4691, allocations: 91.88 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.4698, allocations: 371.8 kB / 1.459 GB, free: 9.629 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.47, allocations: 86.55 kB / 1.459 GB, free: 9.535 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4701, allocations: 32.95 kB / 1.459 GB, free: 9.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4701, allocations: 7.984 kB / 1.459 GB, free: 9.492 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4702, allocations: 30.56 kB / 1.459 GB, free: 9.453 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4702, allocations: 0 / 1.459 GB, free: 9.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004591/0.4706, allocations: 141.5 kB / 1.459 GB, free: 9.309 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4707, allocations: 51.41 kB / 1.459 GB, free: 9.246 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4708, allocations: 155.7 kB / 1.459 GB, free: 9.086 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4709, allocations: 29.7 kB / 1.459 GB, free: 9.051 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.4709, allocations: 119.9 kB / 1.459 GB, free: 8.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.471, allocations: 23.78 kB / 1.459 GB, free: 8.906 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.471, allocations: 21.66 kB / 1.459 GB, free: 8.879 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4712, allocations: 326.8 kB / 1.46 GB, free: 8.551 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4713, allocations: 35.97 kB / 1.46 GB, free: 8.516 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4714, allocations: 27.98 kB / 1.46 GB, free: 8.488 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.4716, allocations: 76.81 kB / 1.46 GB, free: 8.41 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4716, allocations: 4 kB / 1.46 GB, free: 8.406 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002823/0.4719, allocations: 113.5 kB / 1.46 GB, free: 8.289 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4719, allocations: 8 kB / 1.46 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4719, allocations: 0 / 1.46 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4719, allocations: 0 / 1.46 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.4721, allocations: 19.98 kB / 1.46 GB, free: 8.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4721, allocations: 4 kB / 1.46 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.563e-05/0.4722, allocations: 15.94 kB / 1.46 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4722, allocations: 0 / 1.46 GB, free: 8.242 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001033/0.4723, allocations: 126.3 kB / 1.46 GB, free: 8.109 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.4723, allocations: 15.83 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.4726, allocations: 118.9 kB / 1.46 GB, free: 7.969 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4726, allocations: 4 kB / 1.46 GB, free: 7.965 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4727, allocations: 4 kB / 1.46 GB, free: 7.961 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4727, allocations: 0 / 1.46 GB, free: 7.961 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.4729, allocations: 161.2 kB / 1.46 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4729, allocations: 0 / 1.46 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.473, allocations: 15.98 kB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.473, allocations: 0 / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.473, allocations: 0 / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.473, allocations: 0 / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.473, allocations: 0 / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.4733, allocations: 223.3 kB / 1.461 GB, free: 7.523 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.4733, allocations: 11.94 kB / 1.461 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.4734, allocations: 4 kB / 1.461 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4735, allocations: 4 kB / 1.461 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4735, allocations: 11.98 kB / 1.461 GB, free: 7.492 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4735, allocations: 0 / 1.461 GB, free: 7.492 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001027/0.4736, allocations: 117.3 kB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.4736, allocations: 0 / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002522/0.4739, allocations: 27.89 kB / 1.461 GB, free: 7.352 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001347/0.474, allocations: 107.2 kB / 1.461 GB, free: 7.238 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4743, allocations: 75.88 kB / 1.461 GB, free: 7.164 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4743, allocations: 0 / 1.461 GB, free: 7.164 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.4744, allocations: 31.98 kB / 1.461 GB, free: 7.133 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.4748, allocations: 41.72 kB / 1.461 GB, free: 7.094 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.4753, allocations: 257 kB / 1.461 GB, free: 6.816 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.4754, allocations: 94.28 kB / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.217e-05/0.4755, allocations: 8.438 kB / 1.461 GB, free: 6.695 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.4756, allocations: 19.42 kB / 1.461 GB, free: 6.676 MB / 1.154 GB Notification: Performance of SimCode: time 3.51e-07/0.4756, allocations: 0 / 1.461 GB, free: 6.676 MB / 1.154 GB Notification: Performance of Templates: time 0.004699/0.4803, allocations: 1.702 MB / 1.463 GB, free: 5.008 MB / 1.154 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.597451084991917]