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.002076/0.002076, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002752/0.002752, allocations: 189 kB / 22.23 MB, free: 5.105 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.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.02 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.947/2.947, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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.00209/0.00209, allocations: 67.91 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9211, allocations: 168.8 MB / 1.274 GB, free: 4.23 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1991/1.12, allocations: 149.5 MB / 1.42 GB, free: 14.18 MB / 1.123 GB
Notification: Performance of NFInst.instExpressions: time 0.001784/1.122, allocations: 1.145 MB / 1.421 GB, free: 13.04 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/1.122, allocations: 0 / 1.421 GB, free: 13.04 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004345/1.123, allocations: 59.66 kB / 1.422 GB, free: 12.98 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.0008632/1.123, allocations: 326.6 kB / 1.422 GB, free: 12.66 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004133/1.124, allocations: 159.4 kB / 1.422 GB, free: 12.5 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.0004815/1.124, allocations: 227.2 kB / 1.422 GB, free: 12.28 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/1.124, allocations: 51.94 kB / 1.422 GB, free: 12.23 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/1.125, allocations: 51.78 kB / 1.422 GB, free: 12.18 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/1.125, allocations: 63.7 kB / 1.422 GB, free: 12.11 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 2.312e-05/1.125, allocations: 12 kB / 1.422 GB, free: 12.1 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/1.125, allocations: 379.2 kB / 1.423 GB, free: 11.73 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 6.392e-05/1.125, allocations: 31.91 kB / 1.423 GB, free: 11.7 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 7.843e-05/1.126, allocations: 59.67 kB / 1.423 GB, free: 11.64 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006002/1.126, allocations: 294.7 kB / 1.423 GB, free: 11.36 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.126, allocations: 0 / 1.423 GB, free: 11.36 MB / 1.123 GB
Notification: Performance of FrontEnd: time 1.693e-06/1.126, allocations: 0 / 1.423 GB, free: 11.36 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 6.161e-06/1.126, allocations: 0 / 1.423 GB, free: 11.36 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.0007465/1.127, allocations: 397.3 kB / 1.423 GB, free: 10.94 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.127, allocations: 12.03 kB / 1.423 GB, free: 10.93 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/1.127, allocations: 32.81 kB / 1.424 GB, free: 10.89 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/1.128, allocations: 158.3 kB / 1.424 GB, free: 10.71 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.128, allocations: 11.94 kB / 1.424 GB, free: 10.7 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/1.128, allocations: 12 kB / 1.424 GB, free: 10.69 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/1.128, allocations: 120 kB / 1.424 GB, free: 10.57 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.128, allocations: 7.875 kB / 1.424 GB, free: 10.56 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.128, allocations: 0 / 1.424 GB, free: 10.56 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.128, allocations: 4 kB / 1.424 GB, free: 10.56 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/1.128, allocations: 95.88 kB / 1.424 GB, free: 10.46 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/1.129, allocations: 431.3 kB / 1.424 GB, free: 10 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/1.129, allocations: 78.55 kB / 1.424 GB, free: 9.914 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.129, allocations: 44.88 kB / 1.424 GB, free: 9.867 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/1.129, allocations: 3.938 kB / 1.424 GB, free: 9.863 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.129, allocations: 38.56 kB / 1.424 GB, free: 9.816 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.129, allocations: 0 / 1.424 GB, free: 9.816 MB / 1.123 GB
Notification: Performance of matching and sorting (n=7): time 0.0004918/1.13, allocations: 137.5 kB / 1.425 GB, free: 9.676 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.13, allocations: 51.41 kB / 1.425 GB, free: 9.613 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/1.13, allocations: 186.3 kB / 1.425 GB, free: 9.422 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 2.072e-05/1.13, allocations: 25.7 kB / 1.425 GB, free: 9.391 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.13, allocations: 112.1 kB / 1.425 GB, free: 9.277 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.13, allocations: 31.73 kB / 1.425 GB, free: 9.246 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/1.13, allocations: 21.72 kB / 1.425 GB, free: 9.219 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001694/1.131, allocations: 326.8 kB / 1.425 GB, free: 8.891 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/1.131, allocations: 43.89 kB / 1.425 GB, free: 8.848 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.131, allocations: 27.98 kB / 1.425 GB, free: 8.82 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.131, allocations: 77.28 kB / 1.425 GB, free: 8.742 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.131, allocations: 0 / 1.425 GB, free: 8.742 MB / 1.123 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000269/1.131, allocations: 117.6 kB / 1.426 GB, free: 8.621 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.131, allocations: 4 kB / 1.426 GB, free: 8.617 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.131, allocations: 4 kB / 1.426 GB, free: 8.613 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.131, allocations: 0 / 1.426 GB, free: 8.613 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/1.131, allocations: 19.92 kB / 1.426 GB, free: 8.594 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.131, allocations: 4 kB / 1.426 GB, free: 8.59 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/1.132, allocations: 23.88 kB / 1.426 GB, free: 8.566 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/1.132, allocations: 0 / 1.426 GB, free: 8.566 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.0001112/1.132, allocations: 125.8 kB / 1.426 GB, free: 8.434 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/1.132, allocations: 11.91 kB / 1.426 GB, free: 8.422 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/1.132, allocations: 127 kB / 1.426 GB, free: 8.289 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.132, allocations: 0 / 1.426 GB, free: 8.289 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.132, allocations: 3.938 kB / 1.426 GB, free: 8.285 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.132, allocations: 4 kB / 1.426 GB, free: 8.281 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/1.132, allocations: 196.6 kB / 1.426 GB, free: 8.047 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.132, allocations: 3.938 kB / 1.426 GB, free: 8.043 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/1.132, allocations: 15.98 kB / 1.426 GB, free: 8.027 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/1.132, allocations: 0 / 1.426 GB, free: 8.027 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/1.132, allocations: 0 / 1.426 GB, free: 8.027 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.132, allocations: 0 / 1.426 GB, free: 8.027 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.132, allocations: 4 kB / 1.426 GB, free: 8.023 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/1.133, allocations: 215.3 kB / 1.426 GB, free: 7.797 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/1.133, allocations: 11.89 kB / 1.426 GB, free: 7.785 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/1.133, allocations: 4 kB / 1.426 GB, free: 7.781 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/1.133, allocations: 7.984 kB / 1.426 GB, free: 7.773 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/1.133, allocations: 7.984 kB / 1.426 GB, free: 7.766 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/1.133, allocations: 3.938 kB / 1.426 GB, free: 7.762 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 0.0001291/1.133, allocations: 140.2 kB / 1.426 GB, free: 7.625 MB / 1.123 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.133, allocations: 0 / 1.426 GB, free: 7.625 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.0002426/1.133, allocations: 27.95 kB / 1.426 GB, free: 7.598 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.000168/1.134, allocations: 99.23 kB / 1.427 GB, free: 7.488 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0002914/1.134, allocations: 83.88 kB / 1.427 GB, free: 7.406 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.134, allocations: 0 / 1.427 GB, free: 7.406 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.134, allocations: 43.91 kB / 1.427 GB, free: 7.363 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/1.134, allocations: 28.27 kB / 1.427 GB, free: 7.34 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/1.135, allocations: 256.9 kB / 1.427 GB, free: 7.062 MB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.135, allocations: 0.7118 MB / 1.428 GB, free: 6.324 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 6.402e-05/1.136, allocations: 8.969 kB / 1.428 GB, free: 6.316 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/1.136, allocations: 19.44 kB / 1.428 GB, free: 6.297 MB / 1.123 GB
Notification: Performance of SimCode: time 2.8e-07/1.136, allocations: 0 / 1.428 GB, free: 6.297 MB / 1.123 GB
Notification: Performance of Templates: time 0.005166/1.141, allocations: 1.644 MB / 1.429 GB, free: 4.668 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  -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/jenkins/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: 9.42320017144084]