Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001351/0.001351, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001468/0.001468, allocations: 222 kB / 23 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.278/3.278, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.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_latest_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_latest_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.002059/0.002059, allocations: 69.19 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1775/0.5478, allocations: 131 MB / 1.493 GB, free: 10.06 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.5497, allocations: 1.055 MB / 1.494 GB, free: 9 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.5498, allocations: 0 / 1.494 GB, free: 9 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.5502, allocations: 55.62 kB / 1.494 GB, free: 8.945 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.5513, allocations: 310.7 kB / 1.494 GB, free: 8.641 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.5517, allocations: 167.3 kB / 1.494 GB, free: 8.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.5523, allocations: 223.3 kB / 1.494 GB, free: 8.258 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.5524, allocations: 37.28 kB / 1.494 GB, free: 8.223 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.5525, allocations: 59.78 kB / 1.494 GB, free: 8.164 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.5526, allocations: 51.7 kB / 1.494 GB, free: 8.113 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.5527, allocations: 15.94 kB / 1.494 GB, free: 8.098 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.5532, allocations: 227.5 kB / 1.495 GB, free: 7.875 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.5532, allocations: 39.89 kB / 1.495 GB, free: 7.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.5533, allocations: 51.67 kB / 1.495 GB, free: 7.785 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.5539, allocations: 275.1 kB / 1.495 GB, free: 7.516 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5539, allocations: 0 / 1.495 GB, free: 7.516 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5539, allocations: 4 kB / 1.495 GB, free: 7.512 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.5539, allocations: 0 / 1.495 GB, free: 7.512 MB / 1.186 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.0007889/0.5547, allocations: 397.3 kB / 1.495 GB, free: 7.094 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5547, allocations: 12.03 kB / 1.495 GB, free: 7.082 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.5552, allocations: 52.78 kB / 1.495 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.5556, allocations: 154.9 kB / 1.496 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5556, allocations: 8 kB / 1.496 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.5556, allocations: 8 kB / 1.496 GB, free: 6.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.5559, allocations: 117.6 kB / 1.496 GB, free: 6.719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5559, allocations: 0 / 1.496 GB, free: 6.719 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.556, allocations: 4 kB / 1.496 GB, free: 6.715 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.556, allocations: 4 kB / 1.496 GB, free: 6.711 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.5563, allocations: 91.88 kB / 1.496 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.557, allocations: 364 kB / 1.496 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.5572, allocations: 86.48 kB / 1.496 GB, free: 6.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.5573, allocations: 40.94 kB / 1.496 GB, free: 6.098 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5574, allocations: 0 / 1.496 GB, free: 6.098 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5574, allocations: 34.56 kB / 1.496 GB, free: 6.055 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5574, allocations: 0 / 1.496 GB, free: 6.055 MB / 1.186 GB Notification: Performance of matching and sorting (n=7): time 0.000467/0.5579, allocations: 145.5 kB / 1.497 GB, free: 5.906 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.5579, allocations: 59.39 kB / 1.497 GB, free: 5.836 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.5581, allocations: 150.3 kB / 1.497 GB, free: 5.68 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5581, allocations: 25.7 kB / 1.497 GB, free: 5.648 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.5582, allocations: 123.9 kB / 1.497 GB, free: 5.523 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.5582, allocations: 23.8 kB / 1.497 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.5583, allocations: 25.67 kB / 1.497 GB, free: 5.469 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5585, allocations: 318.8 kB / 1.497 GB, free: 5.148 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.5586, allocations: 35.97 kB / 1.497 GB, free: 5.113 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5587, allocations: 32.3 kB / 1.497 GB, free: 5.082 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.5589, allocations: 84.89 kB / 1.497 GB, free: 4.996 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5589, allocations: 0 / 1.497 GB, free: 4.996 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002926/0.5592, allocations: 113.5 kB / 1.497 GB, free: 4.879 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5592, allocations: 4 kB / 1.497 GB, free: 4.875 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5592, allocations: 4 kB / 1.497 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5593, allocations: 0 / 1.497 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5594, allocations: 19.98 kB / 1.497 GB, free: 4.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5594, allocations: 0 / 1.497 GB, free: 4.852 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.5595, allocations: 15.92 kB / 1.497 GB, free: 4.836 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.5595, allocations: 4 kB / 1.497 GB, free: 4.832 MB / 1.186 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.000124/0.5596, allocations: 118.5 kB / 1.498 GB, free: 4.707 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.5597, allocations: 7.953 kB / 1.498 GB, free: 4.699 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.56, allocations: 130.3 kB / 1.498 GB, free: 4.562 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.56, allocations: 0 / 1.498 GB, free: 4.562 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.56, allocations: 0 / 1.498 GB, free: 4.562 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.56, allocations: 3.938 kB / 1.498 GB, free: 4.559 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.5603, allocations: 157.2 kB / 1.498 GB, free: 4.375 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5603, allocations: 0 / 1.498 GB, free: 4.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5604, allocations: 15.98 kB / 1.498 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5604, allocations: 0 / 1.498 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5604, allocations: 4 kB / 1.498 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5604, allocations: 0 / 1.498 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5604, allocations: 7.984 kB / 1.498 GB, free: 4.348 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.5607, allocations: 215.3 kB / 1.498 GB, free: 4.121 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.5608, allocations: 7.953 kB / 1.498 GB, free: 4.113 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.5608, allocations: 4 kB / 1.498 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5609, allocations: 7.984 kB / 1.498 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.5609, allocations: 0 / 1.498 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5609, allocations: 8 kB / 1.498 GB, free: 4.094 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001138/0.5611, allocations: 120.7 kB / 1.498 GB, free: 3.977 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5611, allocations: 0 / 1.498 GB, free: 3.977 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002548/0.5613, allocations: 27.95 kB / 1.498 GB, free: 3.949 MB / 1.186 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.0001671/0.5615, allocations: 99.19 kB / 1.498 GB, free: 3.844 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.5618, allocations: 79.88 kB / 1.498 GB, free: 3.766 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5618, allocations: 0 / 1.498 GB, free: 3.766 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.5619, allocations: 39.92 kB / 1.499 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.5623, allocations: 38.16 kB / 1.499 GB, free: 3.691 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.5629, allocations: 286.7 kB / 1.499 GB, free: 3.379 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.563, allocations: 94.28 kB / 1.499 GB, free: 3.266 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.5631, allocations: 15.44 kB / 1.499 GB, free: 3.25 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.5631, allocations: 0 / 1.499 GB, free: 3.25 MB / 1.186 GB Notification: Performance of Templates: time 0.004134/0.5672, allocations: 1.623 MB / 1.501 GB, free: 1.637 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.67572174500674]