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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002424/0.002424, allocations: 191.6 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8191, allocations: 168.7 MB / 1.274 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1804/0.9995, allocations: 149.5 MB / 1.42 GB, free: 14.35 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001617/1.001, allocations: 1.129 MB / 1.421 GB, free: 13.22 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/1.001, allocations: 4 kB / 1.421 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/1.002, allocations: 63.66 kB / 1.421 GB, free: 13.15 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007984/1.002, allocations: 314.6 kB / 1.422 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/1.003, allocations: 163.3 kB / 1.422 GB, free: 12.68 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/1.003, allocations: 227.2 kB / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/1.003, allocations: 55.75 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/1.003, allocations: 51.78 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/1.004, allocations: 59.7 kB / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/1.004, allocations: 12 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/1.004, allocations: 379.2 kB / 1.422 GB, free: 11.92 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/1.004, allocations: 27.91 kB / 1.422 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/1.004, allocations: 63.67 kB / 1.423 GB, free: 11.83 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004838/1.005, allocations: 302.9 kB / 1.423 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.005, allocations: 0 / 1.423 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.953e-06/1.005, allocations: 0 / 1.423 GB, free: 11.53 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.005, allocations: 4 kB / 1.423 GB, free: 11.53 MB / 1.123 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.0007302/1.006, allocations: 470.5 kB / 1.423 GB, free: 11.02 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.006, allocations: 8.031 kB / 1.423 GB, free: 11.01 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/1.006, allocations: 36.81 kB / 1.423 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/1.006, allocations: 214.8 kB / 1.424 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.006, allocations: 15.94 kB / 1.424 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/1.006, allocations: 11.94 kB / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/1.007, allocations: 120.2 kB / 1.424 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.007, allocations: 4 kB / 1.424 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.007, allocations: 4 kB / 1.424 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.007, allocations: 3.938 kB / 1.424 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/1.007, allocations: 91.94 kB / 1.424 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000741/1.008, allocations: 456.2 kB / 1.424 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/1.008, allocations: 90.48 kB / 1.424 GB, free: 9.887 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.008, allocations: 36.94 kB / 1.424 GB, free: 9.848 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.008, allocations: 7.984 kB / 1.424 GB, free: 9.84 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.008, allocations: 38.56 kB / 1.424 GB, free: 9.793 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/1.008, allocations: 0 / 1.424 GB, free: 9.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=7): time 0.0004582/1.008, allocations: 133.5 kB / 1.424 GB, free: 9.656 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/1.008, allocations: 55.34 kB / 1.425 GB, free: 9.59 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/1.009, allocations: 190.4 kB / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.009, allocations: 29.7 kB / 1.425 GB, free: 9.359 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/1.009, allocations: 108.1 kB / 1.425 GB, free: 9.25 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.009, allocations: 31.73 kB / 1.425 GB, free: 9.219 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/1.009, allocations: 17.72 kB / 1.425 GB, free: 9.195 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.009, allocations: 326.8 kB / 1.425 GB, free: 8.867 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/1.009, allocations: 31.97 kB / 1.425 GB, free: 8.836 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/1.009, allocations: 40.28 kB / 1.425 GB, free: 8.797 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/1.009, allocations: 80.8 kB / 1.425 GB, free: 8.715 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.009, allocations: 0 / 1.425 GB, free: 8.715 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002839/1.01, allocations: 113.5 kB / 1.425 GB, free: 8.598 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.01, allocations: 4 kB / 1.425 GB, free: 8.594 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.01, allocations: 3.938 kB / 1.425 GB, free: 8.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.01, allocations: 4 kB / 1.425 GB, free: 8.586 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.01, allocations: 19.98 kB / 1.425 GB, free: 8.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.01, allocations: 0 / 1.425 GB, free: 8.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/1.01, allocations: 19.88 kB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.01, allocations: 4 kB / 1.426 GB, free: 8.543 MB / 1.123 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.0001055/1.01, allocations: 121.8 kB / 1.426 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/1.01, allocations: 15.91 kB / 1.426 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/1.011, allocations: 123 kB / 1.426 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.011, allocations: 4 kB / 1.426 GB, free: 8.266 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.011, allocations: 0 / 1.426 GB, free: 8.266 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.011, allocations: 0 / 1.426 GB, free: 8.266 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.011, allocations: 229.5 kB / 1.426 GB, free: 7.992 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.011, allocations: 4 kB / 1.426 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.011, allocations: 15.98 kB / 1.426 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.011, allocations: 4 kB / 1.426 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.011, allocations: 0 / 1.426 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.011, allocations: 0 / 1.426 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.011, allocations: 0 / 1.426 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/1.011, allocations: 219.3 kB / 1.426 GB, free: 7.738 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/1.011, allocations: 93.05 kB / 1.426 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/1.011, allocations: 0 / 1.426 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.011, allocations: 7.984 kB / 1.426 GB, free: 7.621 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.012, allocations: 11.98 kB / 1.426 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/1.012, allocations: 0 / 1.426 GB, free: 7.609 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001224/1.012, allocations: 136.2 kB / 1.426 GB, free: 7.477 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.012, allocations: 0 / 1.426 GB, free: 7.477 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002499/1.012, allocations: 27.89 kB / 1.426 GB, free: 7.449 MB / 1.123 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.000172/1.012, allocations: 103.8 kB / 1.427 GB, free: 7.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002935/1.012, allocations: 83.8 kB / 1.427 GB, free: 7.258 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.012, allocations: 4 kB / 1.427 GB, free: 7.254 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.012, allocations: 35.98 kB / 1.427 GB, free: 7.219 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/1.013, allocations: 31.91 kB / 1.427 GB, free: 7.188 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/1.013, allocations: 273.2 kB / 1.427 GB, free: 6.895 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.014, allocations: 0.7041 MB / 1.428 GB, free: 6.164 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.472e-05/1.014, allocations: 12.88 kB / 1.428 GB, free: 6.152 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/1.014, allocations: 19.44 kB / 1.428 GB, free: 6.133 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/1.014, allocations: 0 / 1.428 GB, free: 6.133 MB / 1.123 GB Notification: Performance of Templates: time 0.005483/1.019, allocations: 1.611 MB / 1.429 GB, free: 4.539 MB / 1.123 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 -s cvode -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_2/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: 8.86664170306176]