Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001036/0.001035, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437.8 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.553, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1341/0.687, allocations: 135.1 MB / 1.154 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.6884, allocations: 1.052 MB / 1.155 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.6885, allocations: 0 / 1.155 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.6888, allocations: 39.75 kB / 1.155 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.6893, allocations: 191 kB / 1.156 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.6897, allocations: 147.5 kB / 1.156 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.6901, allocations: 211.3 kB / 1.156 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.6902, allocations: 45.22 kB / 1.156 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.6903, allocations: 43.78 kB / 1.156 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.6903, allocations: 47.77 kB / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.6904, allocations: 0 / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.6908, allocations: 287.5 kB / 1.156 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.6909, allocations: 19.86 kB / 1.156 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.6909, allocations: 45.64 kB / 1.156 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.6912, allocations: 201.5 kB / 1.157 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.6912, allocations: 0 / 1.157 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6912, allocations: 0 / 1.157 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6912, allocations: 4 kB / 1.157 GB, free: 6.238 MB / 0.9044 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.0005622/0.6918, allocations: 446.7 kB / 1.157 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6919, allocations: 16.55 kB / 1.157 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.6921, allocations: 39.78 kB / 1.157 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.6923, allocations: 202.8 kB / 1.157 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.6924, allocations: 11.98 kB / 1.157 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.6924, allocations: 12 kB / 1.157 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.6927, allocations: 119.1 kB / 1.157 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6927, allocations: 0 / 1.157 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6927, allocations: 4 kB / 1.157 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6927, allocations: 4 kB / 1.157 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.693, allocations: 99.94 kB / 1.158 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.6937, allocations: 468.1 kB / 1.158 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.6939, allocations: 94.48 kB / 1.158 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.694, allocations: 52.94 kB / 1.158 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.694, allocations: 0 / 1.158 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6941, allocations: 38.56 kB / 1.158 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.6941, allocations: 3.984 kB / 1.158 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004307/0.6945, allocations: 165.4 kB / 1.158 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.6946, allocations: 51.41 kB / 1.158 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.6947, allocations: 182.1 kB / 1.159 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.6948, allocations: 29.7 kB / 1.159 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.6948, allocations: 119.9 kB / 1.159 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.6949, allocations: 23.72 kB / 1.159 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.6949, allocations: 0 / 1.159 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.695, allocations: 326.8 kB / 1.159 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6951, allocations: 39.97 kB / 1.159 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.6952, allocations: 35.98 kB / 1.159 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.6953, allocations: 35.98 kB / 1.159 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6953, allocations: 0 / 1.159 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002769/0.6956, allocations: 133.5 kB / 1.159 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6956, allocations: 8 kB / 1.159 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6956, allocations: 3.938 kB / 1.159 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.6957, allocations: 0 / 1.159 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.6958, allocations: 19.98 kB / 1.159 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6958, allocations: 4 kB / 1.159 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.6959, allocations: 11.84 kB / 1.159 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.6959, allocations: 7.984 kB / 1.159 GB, free: 3.27 MB / 0.9044 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 8.973e-05/0.696, allocations: 125.8 kB / 1.159 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.6961, allocations: 15.81 kB / 1.159 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.6964, allocations: 135 kB / 1.16 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6964, allocations: 0 / 1.16 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6964, allocations: 4 kB / 1.16 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6964, allocations: 0 / 1.16 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.6967, allocations: 221.5 kB / 1.16 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6967, allocations: 3.938 kB / 1.16 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.6968, allocations: 19.98 kB / 1.16 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6968, allocations: 0 / 1.16 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6968, allocations: 4 kB / 1.16 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6968, allocations: 0 / 1.16 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6968, allocations: 0 / 1.16 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.6971, allocations: 227.2 kB / 1.16 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.6972, allocations: 92.94 kB / 1.16 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.6972, allocations: 4 kB / 1.16 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.6974, allocations: 15.98 kB / 1.16 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.6974, allocations: 4 kB / 1.16 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.6974, allocations: 0 / 1.16 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001083/0.6975, allocations: 137.7 kB / 1.16 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6975, allocations: 0 / 1.16 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002574/0.6978, allocations: 20 kB / 1.16 GB, free: 2.164 MB / 0.9044 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.0001332/0.6979, allocations: 107.2 kB / 1.16 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.6982, allocations: 87.89 kB / 1.16 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6982, allocations: 4 kB / 1.16 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.6983, allocations: 44.83 kB / 1.16 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.6987, allocations: 37.8 kB / 1.161 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.6993, allocations: 317.3 kB / 1.161 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.6995, allocations: 0.7121 MB / 1.162 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.895e-05/0.6996, allocations: 12.86 kB / 1.162 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.6996, allocations: 15.44 kB / 1.162 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.6997, allocations: 0 / 1.162 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of Templates: time 0.004001/0.7037, allocations: 1.413 MB / 1.163 GB, free: 15.38 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches