Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001483, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 200 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6866, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1586/0.8452, allocations: 146.7 MB / 1.093 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.8468, allocations: 1.141 MB / 1.094 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.847, allocations: 4 kB / 1.094 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.8474, allocations: 47.73 kB / 1.094 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.8482, allocations: 282.9 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.8486, allocations: 143.5 kB / 1.094 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.849, allocations: 239.2 kB / 1.095 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8491, allocations: 59.08 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.8492, allocations: 43.83 kB / 1.095 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.8493, allocations: 59.7 kB / 1.095 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.8493, allocations: 12 kB / 1.095 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.8499, allocations: 411.1 kB / 1.095 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.85, allocations: 27.89 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.8501, allocations: 55.67 kB / 1.095 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.8504, allocations: 203.6 kB / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8504, allocations: 0 / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8504, allocations: 0 / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.8504, allocations: 0 / 1.096 GB, free: 12.14 MB / 0.8575 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.0006759/0.8511, allocations: 480.5 kB / 1.096 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8511, allocations: 8.031 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.8514, allocations: 32.81 kB / 1.096 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.8517, allocations: 211.4 kB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.8517, allocations: 4 kB / 1.096 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.8517, allocations: 12 kB / 1.096 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.852, allocations: 119.6 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.852, allocations: 0 / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.852, allocations: 7.938 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.852, allocations: 4 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.8523, allocations: 91.88 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.853, allocations: 468 kB / 1.097 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.8532, allocations: 86.55 kB / 1.097 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8533, allocations: 40.95 kB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.8534, allocations: 0 / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.8534, allocations: 38.55 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.8534, allocations: 0 / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004349/0.8538, allocations: 145.4 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8539, allocations: 55.41 kB / 1.097 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.8541, allocations: 174.9 kB / 1.097 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.8541, allocations: 29.7 kB / 1.097 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.8542, allocations: 116 kB / 1.098 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.8542, allocations: 23.7 kB / 1.098 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.8543, allocations: 21.62 kB / 1.098 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8544, allocations: 330.8 kB / 1.098 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.8545, allocations: 31.97 kB / 1.098 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.8546, allocations: 31.98 kB / 1.098 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.8548, allocations: 80.75 kB / 1.098 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8548, allocations: 3.938 kB / 1.098 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002695/0.8551, allocations: 113.5 kB / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8551, allocations: 4 kB / 1.098 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8551, allocations: 0 / 1.098 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8552, allocations: 0 / 1.098 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.8553, allocations: 23.98 kB / 1.098 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8553, allocations: 4 kB / 1.098 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.8554, allocations: 15.83 kB / 1.098 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8554, allocations: 7.938 kB / 1.098 GB, free: 9.156 MB / 0.8575 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.0001017/0.8555, allocations: 121.8 kB / 1.098 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.8556, allocations: 11.91 kB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.8559, allocations: 119.6 kB / 1.098 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.8559, allocations: 8 kB / 1.098 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8559, allocations: 0 / 1.098 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8559, allocations: 0 / 1.098 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.8562, allocations: 225.4 kB / 1.099 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8562, allocations: 0 / 1.099 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.8563, allocations: 15.98 kB / 1.099 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8563, allocations: 4 kB / 1.099 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.8563, allocations: 0 / 1.099 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.8563, allocations: 0 / 1.099 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.8563, allocations: 3.938 kB / 1.099 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.8566, allocations: 227.3 kB / 1.099 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.8567, allocations: 92.86 kB / 1.099 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.8567, allocations: 0 / 1.099 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.8568, allocations: 11.98 kB / 1.099 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.8569, allocations: 4 kB / 1.099 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.8569, allocations: 3.984 kB / 1.099 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001142/0.857, allocations: 141.2 kB / 1.099 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.857, allocations: 0 / 1.099 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002467/0.8573, allocations: 20 kB / 1.099 GB, free: 8.07 MB / 0.8575 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.0001618/0.8575, allocations: 103.2 kB / 1.099 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.8577, allocations: 83.88 kB / 1.099 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8577, allocations: 0 / 1.099 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.8579, allocations: 39.92 kB / 1.099 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.8583, allocations: 35.95 kB / 1.099 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.8588, allocations: 320.2 kB / 1.1 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.8591, allocations: 0.7083 MB / 1.1 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.8592, allocations: 15.44 kB / 1.1 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.8592, allocations: 0 / 1.1 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.003323/0.8625, allocations: 1.642 MB / 1.102 GB, free: 5.07 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches