Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001605/0.001605, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00189/0.00189, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.8 MB / 0.7714 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002024/0.002024, allocations: 65.66 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1816/0.5319, allocations: 152.3 MB / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.5336, allocations: 1.16 MB / 1.435 GB, free: 1.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.5337, allocations: 0 / 1.435 GB, free: 1.188 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.5341, allocations: 59.66 kB / 1.435 GB, free: 1.129 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.5349, allocations: 322.6 kB / 1.435 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.5352, allocations: 167.3 kB / 1.435 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.5357, allocations: 219.3 kB / 1.435 GB, free: 444 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5358, allocations: 45.22 kB / 1.435 GB, free: 396 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.5359, allocations: 55.84 kB / 1.435 GB, free: 340 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.536, allocations: 67.64 kB / 1.435 GB, free: 272 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.536, allocations: 12 kB / 1.435 GB, free: 260 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.5366, allocations: 383.2 kB / 1.436 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.5366, allocations: 31.92 kB / 1.436 GB, free: 15.85 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.5367, allocations: 59.67 kB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.5371, allocations: 310.9 kB / 1.436 GB, free: 15.48 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5371, allocations: 0 / 1.436 GB, free: 15.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5371, allocations: 0 / 1.436 GB, free: 15.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5372, allocations: 0 / 1.436 GB, free: 15.48 MB / 1.139 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.0006642/0.5378, allocations: 407 kB / 1.437 GB, free: 15.06 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5379, allocations: 12.03 kB / 1.437 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.5383, allocations: 48.8 kB / 1.437 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.5386, allocations: 154.2 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5386, allocations: 11.94 kB / 1.437 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.5386, allocations: 12 kB / 1.437 GB, free: 14.8 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.5389, allocations: 121.6 kB / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5389, allocations: 0 / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5389, allocations: 4 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5389, allocations: 4 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.5392, allocations: 95.81 kB / 1.437 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.5399, allocations: 427.4 kB / 1.437 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.5401, allocations: 82.55 kB / 1.438 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.5402, allocations: 36.95 kB / 1.438 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.5403, allocations: 0 / 1.438 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5403, allocations: 46.48 kB / 1.438 GB, free: 13.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.5403, allocations: 0 / 1.438 GB, free: 13.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0004413/0.5408, allocations: 133.6 kB / 1.438 GB, free: 13.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5408, allocations: 55.41 kB / 1.438 GB, free: 13.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.541, allocations: 188 kB / 1.438 GB, free: 13.54 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.541, allocations: 25.7 kB / 1.438 GB, free: 13.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.5411, allocations: 124 kB / 1.438 GB, free: 13.38 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.5411, allocations: 27.78 kB / 1.438 GB, free: 13.35 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.5412, allocations: 17.72 kB / 1.438 GB, free: 13.33 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5413, allocations: 326.8 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.5414, allocations: 35.97 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/0.5415, allocations: 27.98 kB / 1.439 GB, free: 12.94 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.5417, allocations: 80.75 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5417, allocations: 0 / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002652/0.542, allocations: 121.5 kB / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.542, allocations: 4 kB / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.542, allocations: 0 / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.542, allocations: 0 / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5422, allocations: 23.98 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5422, allocations: 0 / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.5422, allocations: 11.98 kB / 1.439 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.5423, allocations: 4.547 kB / 1.439 GB, free: 12.69 MB / 1.139 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.000106/0.5424, allocations: 125.7 kB / 1.439 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.5424, allocations: 15.84 kB / 1.439 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.5427, allocations: 123 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5427, allocations: 0 / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5427, allocations: 4 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5427, allocations: 7.984 kB / 1.439 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.543, allocations: 196.5 kB / 1.439 GB, free: 12.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.543, allocations: 0 / 1.439 GB, free: 12.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5431, allocations: 19.92 kB / 1.439 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5431, allocations: 4 kB / 1.439 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5431, allocations: 0 / 1.439 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5431, allocations: 4.078 kB / 1.439 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5431, allocations: 3.984 kB / 1.439 GB, free: 12.13 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.5434, allocations: 223.3 kB / 1.439 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.5434, allocations: 11.91 kB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5434, allocations: 0 / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5435, allocations: 11.98 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5436, allocations: 3.984 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5436, allocations: 4 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001139/0.5437, allocations: 127.2 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5437, allocations: 4 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002372/0.5439, allocations: 24 kB / 1.44 GB, free: 11.71 MB / 1.139 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.0001748/0.5441, allocations: 107.2 kB / 1.44 GB, free: 11.6 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.5444, allocations: 71.89 kB / 1.44 GB, free: 11.53 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5444, allocations: 4 kB / 1.44 GB, free: 11.52 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5445, allocations: 39.92 kB / 1.44 GB, free: 11.48 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.5449, allocations: 31.91 kB / 1.44 GB, free: 11.45 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.5454, allocations: 285.1 kB / 1.44 GB, free: 11.14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5458, allocations: 0.708 MB / 1.441 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.5458, allocations: 11.44 kB / 1.441 GB, free: 10.4 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/0.5458, allocations: 0 / 1.441 GB, free: 10.4 MB / 1.139 GB Notification: Performance of Templates: time 0.003653/0.5495, allocations: 1.663 MB / 1.442 GB, free: 8.742 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.289488507987699]