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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001092/0.001092, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008322/0.008322, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.362/1.362, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003426, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6444, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1481/0.7926, allocations: 144.8 MB / 1.164 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.7939, allocations: 1.137 MB / 1.166 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.794, allocations: 0 / 1.166 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.7943, allocations: 43.8 kB / 1.166 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.795, allocations: 274.9 kB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.7953, allocations: 151.5 kB / 1.166 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.7957, allocations: 235.3 kB / 1.166 GB, free: 12.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7958, allocations: 59.05 kB / 1.166 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.7959, allocations: 31.86 kB / 1.166 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.7959, allocations: 51.7 kB / 1.166 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.796, allocations: 0 / 1.166 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.7965, allocations: 415.1 kB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.7966, allocations: 19.86 kB / 1.167 GB, free: 12.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.7967, allocations: 77.38 kB / 1.167 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.797, allocations: 291.2 kB / 1.167 GB, free: 11.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7971, allocations: 0 / 1.167 GB, free: 11.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7971, allocations: 0 / 1.167 GB, free: 11.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7971, allocations: 0 / 1.167 GB, free: 11.7 MB / 0.92 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.0005558/0.7976, allocations: 450.9 kB / 1.168 GB, free: 11.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7977, allocations: 8.031 kB / 1.168 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.798, allocations: 40.72 kB / 1.168 GB, free: 11.17 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.7982, allocations: 212.1 kB / 1.168 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7982, allocations: 11.94 kB / 1.168 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.7982, allocations: 12 kB / 1.168 GB, free: 10.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.7985, allocations: 122.8 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.7985, allocations: 4 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.7985, allocations: 4 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.7986, allocations: 4 kB / 1.168 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.7988, allocations: 103.9 kB / 1.168 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.7995, allocations: 464 kB / 1.169 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.7997, allocations: 98.53 kB / 1.169 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.7999, allocations: 52.88 kB / 1.169 GB, free: 9.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.7999, allocations: 0 / 1.169 GB, free: 9.996 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.7999, allocations: 34.56 kB / 1.169 GB, free: 9.953 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.7999, allocations: 4 kB / 1.169 GB, free: 9.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004621/0.8004, allocations: 149.5 kB / 1.169 GB, free: 9.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.8005, allocations: 59.39 kB / 1.169 GB, free: 9.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.8006, allocations: 174.2 kB / 1.169 GB, free: 9.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.8007, allocations: 29.7 kB / 1.169 GB, free: 9.512 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.8007, allocations: 123.9 kB / 1.169 GB, free: 9.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.8008, allocations: 19.7 kB / 1.169 GB, free: 9.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.8008, allocations: 17.66 kB / 1.169 GB, free: 9.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8009, allocations: 326.8 kB / 1.17 GB, free: 9.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.801, allocations: 39.91 kB / 1.17 GB, free: 8.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8012, allocations: 43.97 kB / 1.17 GB, free: 8.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.8014, allocations: 84.81 kB / 1.17 GB, free: 8.848 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8014, allocations: 0 / 1.17 GB, free: 8.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000292/0.8017, allocations: 125.6 kB / 1.17 GB, free: 8.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8017, allocations: 5.719 kB / 1.17 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.8017, allocations: 0 / 1.17 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.8018, allocations: 4 kB / 1.17 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.8019, allocations: 27.92 kB / 1.17 GB, free: 8.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8019, allocations: 0 / 1.17 GB, free: 8.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.802, allocations: 23.83 kB / 1.17 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.802, allocations: 0 / 1.17 GB, free: 8.66 MB / 0.92 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 9.096e-05/0.8021, allocations: 129.6 kB / 1.17 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.8022, allocations: 7.906 kB / 1.17 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.8025, allocations: 135.5 kB / 1.17 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8025, allocations: 4 kB / 1.17 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8025, allocations: 0 / 1.17 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8026, allocations: 0 / 1.17 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.8028, allocations: 229.5 kB / 1.17 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8028, allocations: 0 / 1.17 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.8029, allocations: 23.98 kB / 1.17 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8029, allocations: 0 / 1.17 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.8029, allocations: 0 / 1.17 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8029, allocations: 0 / 1.17 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8029, allocations: 7.984 kB / 1.17 GB, free: 8.074 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.8033, allocations: 219.4 kB / 1.171 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.8033, allocations: 96.86 kB / 1.171 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.8034, allocations: 3.938 kB / 1.171 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.8035, allocations: 7.984 kB / 1.171 GB, free: 7.719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.8035, allocations: 11.92 kB / 1.171 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.8035, allocations: 4 kB / 1.171 GB, free: 7.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001132/0.8037, allocations: 133.8 kB / 1.171 GB, free: 7.574 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.493e-06/0.8037, allocations: 4 kB / 1.171 GB, free: 7.57 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002479/0.8039, allocations: 27.94 kB / 1.171 GB, free: 7.543 MB / 0.92 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.0001323/0.8041, allocations: 103.2 kB / 1.171 GB, free: 7.434 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.8043, allocations: 91.88 kB / 1.171 GB, free: 7.344 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8044, allocations: 0 / 1.171 GB, free: 7.344 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.8045, allocations: 43.92 kB / 1.171 GB, free: 7.301 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.8049, allocations: 35.97 kB / 1.171 GB, free: 7.266 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.8054, allocations: 301.5 kB / 1.171 GB, free: 6.941 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.8057, allocations: 0.716 MB / 1.172 GB, free: 6.199 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.8059, allocations: 20.86 kB / 1.172 GB, free: 6.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.8059, allocations: 11.44 kB / 1.172 GB, free: 6.168 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.8059, allocations: 0 / 1.172 GB, free: 6.168 MB / 0.92 GB Notification: Performance of Templates: time 0.00503/0.811, allocations: 1.452 MB / 1.174 GB, free: 4.738 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