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.001895/0.001895, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002285/0.002285, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.944/2.944, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.676e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1871/0.1871, allocations: 131 MB / 1.109 GB, free: 8.391 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1889, allocations: 1.043 MB / 1.11 GB, free: 7.344 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.189, allocations: 4 kB / 1.11 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.1894, allocations: 51.62 kB / 1.111 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.1903, allocations: 322.3 kB / 1.111 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1907, allocations: 163.3 kB / 1.111 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.1912, allocations: 231.2 kB / 1.111 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1914, allocations: 41.22 kB / 1.111 GB, free: 6.547 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1915, allocations: 79.81 kB / 1.111 GB, free: 6.469 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1916, allocations: 43.88 kB / 1.111 GB, free: 6.426 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1916, allocations: 12 kB / 1.111 GB, free: 6.414 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.1921, allocations: 239.3 kB / 1.112 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.1922, allocations: 35.89 kB / 1.112 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.1922, allocations: 39.92 kB / 1.112 GB, free: 6.105 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.1927, allocations: 287.1 kB / 1.112 GB, free: 5.824 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1927, allocations: 0 / 1.112 GB, free: 5.824 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1927, allocations: 0 / 1.112 GB, free: 5.824 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.1927, allocations: 0 / 1.112 GB, free: 5.824 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007516/0.1935, allocations: 397.3 kB / 1.112 GB, free: 5.406 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1935, allocations: 12.02 kB / 1.112 GB, free: 5.395 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.194, allocations: 48.8 kB / 1.112 GB, free: 5.348 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.1943, allocations: 149.5 kB / 1.113 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1943, allocations: 8.375 kB / 1.113 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1944, allocations: 12.38 kB / 1.113 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1947, allocations: 123.5 kB / 1.113 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1947, allocations: 0 / 1.113 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1947, allocations: 12 kB / 1.113 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1947, allocations: 3.984 kB / 1.113 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.195, allocations: 87.94 kB / 1.113 GB, free: 4.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.1957, allocations: 364 kB / 1.113 GB, free: 4.543 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1959, allocations: 90.55 kB / 1.113 GB, free: 4.445 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1961, allocations: 44.88 kB / 1.113 GB, free: 4.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1961, allocations: 7.938 kB / 1.113 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1961, allocations: 30.56 kB / 1.113 GB, free: 4.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1961, allocations: 0 / 1.113 GB, free: 4.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004887/0.1966, allocations: 145.5 kB / 1.113 GB, free: 4.203 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1967, allocations: 55.41 kB / 1.113 GB, free: 4.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1968, allocations: 152 kB / 1.114 GB, free: 3.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1969, allocations: 29.7 kB / 1.114 GB, free: 3.945 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.197, allocations: 123.9 kB / 1.114 GB, free: 3.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.197, allocations: 19.81 kB / 1.114 GB, free: 3.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.197, allocations: 17.72 kB / 1.114 GB, free: 3.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1972, allocations: 330.8 kB / 1.114 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1973, allocations: 31.97 kB / 1.114 GB, free: 3.414 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1974, allocations: 27.98 kB / 1.114 GB, free: 3.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1977, allocations: 80.81 kB / 1.114 GB, free: 3.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1977, allocations: 3.938 kB / 1.114 GB, free: 3.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003116/0.198, allocations: 113.5 kB / 1.114 GB, free: 3.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.198, allocations: 8 kB / 1.114 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.198, allocations: 0 / 1.114 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.198, allocations: 0 / 1.114 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1982, allocations: 19.98 kB / 1.114 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1982, allocations: 8 kB / 1.114 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.1983, allocations: 11.92 kB / 1.114 GB, free: 3.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1983, allocations: 0 / 1.114 GB, free: 3.137 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: 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.0001153/0.1984, allocations: 125.8 kB / 1.115 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1984, allocations: 7.953 kB / 1.115 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.1988, allocations: 126.8 kB / 1.115 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1988, allocations: 0 / 1.115 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1988, allocations: 0 / 1.115 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1988, allocations: 4 kB / 1.115 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.199, allocations: 149.3 kB / 1.115 GB, free: 2.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.199, allocations: 3.938 kB / 1.115 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1991, allocations: 15.98 kB / 1.115 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1991, allocations: 0 / 1.115 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1991, allocations: 0 / 1.115 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1991, allocations: 3.938 kB / 1.115 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1991, allocations: 4.078 kB / 1.115 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1995, allocations: 219.4 kB / 1.115 GB, free: 2.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.1995, allocations: 11.89 kB / 1.115 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1995, allocations: 4 kB / 1.115 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1997, allocations: 7.984 kB / 1.115 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1997, allocations: 8 kB / 1.115 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1997, allocations: 0 / 1.115 GB, free: 2.398 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001171/0.1998, allocations: 117.3 kB / 1.115 GB, free: 2.285 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.1998, allocations: 0 / 1.115 GB, free: 2.285 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002579/0.2001, allocations: 27.89 kB / 1.115 GB, free: 2.258 MB / 1.061 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.0001681/0.2002, allocations: 107.2 kB / 1.115 GB, free: 2.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.2005, allocations: 75.89 kB / 1.115 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2005, allocations: 0 / 1.115 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.2007, allocations: 31.98 kB / 1.115 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2011, allocations: 45.89 kB / 1.115 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.2016, allocations: 245.6 kB / 1.116 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.569e-05/0.2017, allocations: 90.28 kB / 1.116 GB, free: 1.621 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.2018, allocations: 16.48 kB / 1.116 GB, free: 1.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2018, allocations: 12.5 kB / 1.116 GB, free: 1.594 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.2018, allocations: 0 / 1.116 GB, free: 1.594 MB / 1.061 GB Notification: Performance of Templates: time 0.005048/0.2069, allocations: 1.55 MB / 1.117 GB, free: 84 kB / 1.061 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 -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/jenkins/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.5522865280509]