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.001848/0.001848, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002392/0.002392, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.198/3.198, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.657e-05, allocations: 3.125 kB / 0.8776 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1908/0.1908, allocations: 131 MB / 1.006 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1929, allocations: 1.051 MB / 1.007 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.193, allocations: 3.938 kB / 1.007 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1934, allocations: 47.69 kB / 1.007 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000931/0.1943, allocations: 322.4 kB / 1.007 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1947, allocations: 167.2 kB / 1.007 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.1952, allocations: 223.2 kB / 1.007 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1954, allocations: 45.22 kB / 1.007 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1955, allocations: 75.81 kB / 1.007 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.1956, allocations: 43.88 kB / 1.008 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1956, allocations: 16 kB / 1.008 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.1961, allocations: 239.4 kB / 1.008 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1962, allocations: 35.84 kB / 1.008 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.1963, allocations: 35.92 kB / 1.008 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.1968, allocations: 283.1 kB / 1.008 GB, free: 356 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1968, allocations: 0 / 1.008 GB, free: 356 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1968, allocations: 3.938 kB / 1.008 GB, free: 352 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1968, allocations: 4 kB / 1.008 GB, free: 348 kB / 0.9636 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.0008562/0.1977, allocations: 397.3 kB / 1.008 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1977, allocations: 16.03 kB / 1.009 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.1983, allocations: 60.67 kB / 1.009 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1986, allocations: 165.3 kB / 1.009 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1986, allocations: 8 kB / 1.009 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1987, allocations: 12 kB / 1.009 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.199, allocations: 114.7 kB / 1.009 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.199, allocations: 4 kB / 1.009 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.199, allocations: 4 kB / 1.009 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.199, allocations: 0 / 1.009 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.1993, allocations: 91.94 kB / 1.009 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.2, allocations: 360 kB / 1.009 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2003, allocations: 94.56 kB / 1.009 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.2004, allocations: 36.91 kB / 1.009 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2004, allocations: 4 kB / 1.009 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2005, allocations: 34.56 kB / 1.009 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2005, allocations: 0 / 1.009 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0005136/0.201, allocations: 141.5 kB / 1.01 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.201, allocations: 55.41 kB / 1.01 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.2012, allocations: 147.9 kB / 1.01 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2012, allocations: 33.7 kB / 1.01 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2013, allocations: 119.9 kB / 1.01 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2014, allocations: 23.8 kB / 1.01 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.2014, allocations: 25.64 kB / 1.01 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2016, allocations: 326.8 kB / 1.01 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2017, allocations: 27.98 kB / 1.01 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2019, allocations: 35.97 kB / 1.01 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.2021, allocations: 88.75 kB / 1.01 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2021, allocations: 0 / 1.01 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003041/0.2024, allocations: 114 kB / 1.011 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2024, allocations: 7.984 kB / 1.011 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2024, allocations: 4 kB / 1.011 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2024, allocations: 0 / 1.011 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2026, allocations: 15.98 kB / 1.011 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2026, allocations: 0 / 1.011 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2027, allocations: 12 kB / 1.011 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2027, allocations: 4 kB / 1.011 GB, free: 13.64 MB / 0.9792 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.0001292/0.2028, allocations: 129.7 kB / 1.011 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2029, allocations: 11.95 kB / 1.011 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.2032, allocations: 118.5 kB / 1.011 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2032, allocations: 0 / 1.011 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2032, allocations: 0 / 1.011 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2032, allocations: 0 / 1.011 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2035, allocations: 169.1 kB / 1.011 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2035, allocations: 4 kB / 1.011 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2036, allocations: 15.98 kB / 1.011 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2036, allocations: 0 / 1.011 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2036, allocations: 0 / 1.011 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2036, allocations: 3.938 kB / 1.011 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2036, allocations: 4 kB / 1.011 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.204, allocations: 211.4 kB / 1.011 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.204, allocations: 3.953 kB / 1.011 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.204, allocations: 11.98 kB / 1.011 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2042, allocations: 7.984 kB / 1.011 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2042, allocations: 7.984 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2042, allocations: 4 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001158/0.2043, allocations: 112.4 kB / 1.011 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2043, allocations: 0 / 1.011 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002781/0.2046, allocations: 31.83 kB / 1.011 GB, free: 12.75 MB / 0.9792 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.0001875/0.2048, allocations: 111.2 kB / 1.011 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.2051, allocations: 75.94 kB / 1.012 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2051, allocations: 0 / 1.012 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.2052, allocations: 39.91 kB / 1.012 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.2056, allocations: 42.03 kB / 1.012 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.2063, allocations: 241 kB / 1.012 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2064, allocations: 94.14 kB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.2065, allocations: 12.48 kB / 1.012 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.2065, allocations: 12.5 kB / 1.012 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of SimCode: time 6.72e-07/0.2065, allocations: 0 / 1.012 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of Templates: time 0.005546/0.2121, allocations: 1.57 MB / 1.014 GB, free: 10.54 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/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: 8.295217120088637]