Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 181.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008671/0.0008673, allocations: 101.3 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 11.09 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.743/4.974, allocations: 2.175 GB / 3.075 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/4.974, allocations: 92.16 kB / 3.075 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5278/5.502, allocations: 40.65 MB / 3.115 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.633e-06/5.502, allocations: 0 / 3.115 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.046e-05/5.502, allocations: 3.938 kB / 3.115 GB, free: 333.3 MB / 0.8855 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.0005676/5.503, allocations: 469.1 kB / 3.115 GB, free: 332.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/5.503, allocations: 11.69 kB / 3.115 GB, free: 332.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/5.503, allocations: 38.94 kB / 3.115 GB, free: 332.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/5.503, allocations: 204.5 kB / 3.115 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/5.503, allocations: 11.59 kB / 3.115 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/5.503, allocations: 7.938 kB / 3.115 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/5.504, allocations: 128.2 kB / 3.116 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/5.504, allocations: 0 / 3.116 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/5.504, allocations: 7.953 kB / 3.116 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/5.504, allocations: 3.875 kB / 3.116 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/5.504, allocations: 103.6 kB / 3.116 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/5.504, allocations: 457 kB / 3.116 GB, free: 332 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/5.505, allocations: 100.4 kB / 3.116 GB, free: 332 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/5.505, allocations: 160 / 3.116 GB, free: 332 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/5.505, allocations: 34.55 kB / 3.116 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/5.505, allocations: 3.906 kB / 3.116 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003924/5.505, allocations: 164.1 kB / 3.116 GB, free: 331.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/5.505, allocations: 55.36 kB / 3.116 GB, free: 331.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/5.505, allocations: 164.8 kB / 3.117 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/5.505, allocations: 25.7 kB / 3.117 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/5.505, allocations: 111.6 kB / 3.117 GB, free: 331.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/5.505, allocations: 31.3 kB / 3.117 GB, free: 331.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/5.505, allocations: 4 kB / 3.117 GB, free: 331.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/5.505, allocations: 322.7 kB / 3.117 GB, free: 331.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/5.506, allocations: 35.02 kB / 3.117 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/5.506, allocations: 43.47 kB / 3.117 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/5.506, allocations: 39.73 kB / 3.117 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.506, allocations: 0 / 3.117 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/5.506, allocations: 135.7 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/5.506, allocations: 3.938 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/5.506, allocations: 0 / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/5.506, allocations: 7.922 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/5.506, allocations: 19.42 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/5.506, allocations: 3.938 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/5.506, allocations: 19.45 kB / 3.117 GB, free: 331 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/5.506, allocations: 0 / 3.117 GB, free: 331 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/5.506, allocations: 129.7 kB / 3.117 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/5.506, allocations: 11.72 kB / 3.117 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/5.507, allocations: 126 kB / 3.118 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/5.507, allocations: 0 / 3.118 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/5.507, allocations: 4 kB / 3.118 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/5.507, allocations: 0 / 3.118 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/5.507, allocations: 233.2 kB / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/5.507, allocations: 0 / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/5.507, allocations: 23.42 kB / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/5.507, allocations: 0 / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/5.507, allocations: 0 / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/5.507, allocations: 0 / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/5.507, allocations: 0 / 3.118 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/5.507, allocations: 225.8 kB / 3.118 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/5.507, allocations: 92.88 kB / 3.118 GB, free: 330.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/5.507, allocations: 0 / 3.118 GB, free: 330.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/5.508, allocations: 7.938 kB / 3.118 GB, free: 330.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/5.508, allocations: 7.734 kB / 3.118 GB, free: 330.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/5.508, allocations: 7.969 kB / 3.118 GB, free: 330.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.846e-05/5.508, allocations: 138.8 kB / 3.118 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/5.508, allocations: 0 / 3.118 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003678/5.508, allocations: 59.12 kB / 3.118 GB, free: 330.1 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005631/5.509, allocations: 0.5586 MB / 3.119 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002501/5.509, allocations: 79.95 kB / 3.119 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/5.509, allocations: 0 / 3.119 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/5.509, allocations: 51.91 kB / 3.119 GB, free: 329.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/5.509, allocations: 39.86 kB / 3.119 GB, free: 329.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/5.51, allocations: 301.5 kB / 3.119 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/5.51, allocations: 0.7121 MB / 3.12 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.581e-05/5.51, allocations: 12.88 kB / 3.12 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/5.51, allocations: 15.42 kB / 3.12 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/5.51, allocations: 4 kB / 3.12 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01009/5.52, allocations: 8.523 MB / 3.128 GB, free: 319.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches