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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 176.8 kB / 487.4 MB, free: 5.012 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 91.95 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.613e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.446/4.759, allocations: 1.71 GB / 2.916 GB, free: 145.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/4.759, allocations: 90.38 kB / 2.916 GB, free: 145.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.07512/4.835, allocations: 39.71 MB / 2.955 GB, free: 113.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.347e-06/4.835, allocations: 0 / 2.955 GB, free: 113.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.126e-05/4.835, allocations: 3.938 kB / 2.955 GB, free: 113.1 MB / 1.151 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.0005417/4.835, allocations: 455.2 kB / 2.956 GB, free: 112.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/4.835, allocations: 8.031 kB / 2.956 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/4.835, allocations: 35.75 kB / 2.956 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/4.836, allocations: 204.1 kB / 2.956 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/4.836, allocations: 4 kB / 2.956 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/4.836, allocations: 4 kB / 2.956 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/4.836, allocations: 66.36 kB / 2.956 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/4.836, allocations: 90.94 kB / 2.956 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/4.836, allocations: 0 / 2.956 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/4.836, allocations: 0 / 2.956 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/4.836, allocations: 4 kB / 2.956 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/4.837, allocations: 419.2 kB / 2.956 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/4.837, allocations: 75.92 kB / 2.957 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/4.837, allocations: 24.48 kB / 2.957 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/4.837, allocations: 0 / 2.957 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/4.837, allocations: 38.5 kB / 2.957 GB, free: 111.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/4.837, allocations: 0 / 2.957 GB, free: 111.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=7): time 0.0001805/4.837, allocations: 79.8 kB / 2.957 GB, free: 111.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/4.837, allocations: 59.34 kB / 2.957 GB, free: 111.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/4.837, allocations: 134.8 kB / 2.957 GB, free: 111.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/4.837, allocations: 25.7 kB / 2.957 GB, free: 111.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/4.837, allocations: 118.2 kB / 2.957 GB, free: 111.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/4.837, allocations: 27.58 kB / 2.957 GB, free: 111.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/4.837, allocations: 0 / 2.957 GB, free: 111.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/4.837, allocations: 322.7 kB / 2.957 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/4.837, allocations: 21.44 kB / 2.957 GB, free: 110.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/4.837, allocations: 19.19 kB / 2.957 GB, free: 110.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/4.837, allocations: 19.88 kB / 2.957 GB, free: 110.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/4.837, allocations: 0 / 2.957 GB, free: 110.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/4.838, allocations: 84.53 kB / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/4.838, allocations: 4 kB / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/4.838, allocations: 0 / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/4.838, allocations: 4 kB / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/4.838, allocations: 27.92 kB / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/4.838, allocations: 0 / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/4.838, allocations: 15.89 kB / 2.957 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/4.838, allocations: 3.953 kB / 2.957 GB, free: 110.8 MB / 1.151 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 () * 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 5.459e-05/4.838, allocations: 107.3 kB / 2.958 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/4.838, allocations: 7.906 kB / 2.958 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/4.838, allocations: 90.47 kB / 2.958 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/4.838, allocations: 8 kB / 2.958 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/4.838, allocations: 0 / 2.958 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/4.838, allocations: 0 / 2.958 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/4.838, allocations: 195.4 kB / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/4.838, allocations: 4 kB / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/4.838, allocations: 19.92 kB / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/4.838, allocations: 0 / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/4.839, allocations: 4 kB / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/4.839, allocations: 0 / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/4.839, allocations: 4.391 kB / 2.958 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/4.839, allocations: 182 kB / 2.958 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/4.839, allocations: 81.02 kB / 2.958 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/4.839, allocations: 3.984 kB / 2.958 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/4.839, allocations: 8 kB / 2.958 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/4.839, allocations: 11.61 kB / 2.958 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/4.839, allocations: 0 / 2.958 GB, free: 110 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.6e-05/4.839, allocations: 116.5 kB / 2.958 GB, free: 109.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.839, allocations: 3.938 kB / 2.958 GB, free: 109.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002933/4.839, allocations: 53.08 kB / 2.958 GB, free: 109.9 MB / 1.151 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 () * 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.0006462/4.84, allocations: 0.6521 MB / 2.959 GB, free: 109.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001253/4.84, allocations: 46.5 kB / 2.959 GB, free: 109.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/4.84, allocations: 0 / 2.959 GB, free: 109.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/4.84, allocations: 34.11 kB / 2.959 GB, free: 109.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/4.84, allocations: 31.56 kB / 2.959 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/4.841, allocations: 142 kB / 2.959 GB, free: 109 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/4.841, allocations: 0.7158 MB / 2.96 GB, free: 108.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.714e-05/4.841, allocations: 4.438 kB / 2.96 GB, free: 108.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/4.841, allocations: 11.44 kB / 2.96 GB, free: 108.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/4.841, allocations: 0 / 2.96 GB, free: 108.2 MB / 1.151 GB Notification: Performance of Templates: time 0.007076/4.848, allocations: 4.403 MB / 2.964 GB, free: 103.9 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches