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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001216/0.001216, allocations: 103.6 kB / 16.41 MB, free: 6.508 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.001133/0.001134, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9254, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1985/1.124, allocations: 149 MB / 1.234 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001957/1.126, allocations: 1.141 MB / 1.235 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/1.126, allocations: 1.438 kB / 1.235 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004486/1.127, allocations: 59.22 kB / 1.235 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/1.128, allocations: 303.7 kB / 1.236 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/1.129, allocations: 170.8 kB / 1.236 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006618/1.129, allocations: 217.8 kB / 1.236 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/1.129, allocations: 59.8 kB / 1.236 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/1.13, allocations: 51.06 kB / 1.236 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/1.13, allocations: 64.75 kB / 1.236 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/1.13, allocations: 12.59 kB / 1.236 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/1.131, allocations: 365.6 kB / 1.236 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/1.131, allocations: 33.66 kB / 1.237 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/1.131, allocations: 60.14 kB / 1.237 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006927/1.131, allocations: 294.1 kB / 1.237 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.131, allocations: 4 kB / 1.237 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/1.131, allocations: 1.375 kB / 1.237 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.324e-05/1.131, allocations: 0 / 1.237 GB, free: 3.699 MB / 0.9669 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.000897/1.132, allocations: 465.1 kB / 1.237 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.132, allocations: 9.938 kB / 1.237 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/1.133, allocations: 35.28 kB / 1.237 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/1.133, allocations: 217.2 kB / 1.238 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.133, allocations: 8.375 kB / 1.238 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/1.133, allocations: 10.5 kB / 1.238 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/1.134, allocations: 117.7 kB / 1.238 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/1.134, allocations: 0 / 1.238 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.134, allocations: 1.156 kB / 1.238 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.134, allocations: 2.5 kB / 1.238 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/1.134, allocations: 100.6 kB / 1.238 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/1.135, allocations: 454.8 kB / 1.238 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/1.135, allocations: 95.22 kB / 1.238 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.135, allocations: 42.3 kB / 1.238 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.135, allocations: 1.031 kB / 1.238 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.135, allocations: 31.53 kB / 1.238 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/1.135, allocations: 0 / 1.238 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004958/1.136, allocations: 146.8 kB / 1.239 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.136, allocations: 52.5 kB / 1.239 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/1.136, allocations: 194.8 kB / 1.239 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.136, allocations: 29.7 kB / 1.239 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/1.136, allocations: 118.2 kB / 1.239 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/1.136, allocations: 18.56 kB / 1.239 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/1.136, allocations: 23.58 kB / 1.239 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.137, allocations: 325 kB / 1.239 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.137, allocations: 33.25 kB / 1.239 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/1.137, allocations: 37 kB / 1.239 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/1.137, allocations: 77.33 kB / 1.239 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.137, allocations: 0 / 1.239 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002813/1.137, allocations: 118.3 kB / 1.24 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.137, allocations: 5.5 kB / 1.24 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.137, allocations: 0 / 1.24 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.137, allocations: 5.375 kB / 1.24 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/1.138, allocations: 16.36 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.138, allocations: 1.375 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/1.138, allocations: 17.28 kB / 1.24 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.138, allocations: 5.375 kB / 1.24 GB, free: 1.316 MB / 0.9669 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.000109/1.138, allocations: 127.3 kB / 1.24 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/1.138, allocations: 14.69 kB / 1.24 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/1.138, allocations: 125.7 kB / 1.24 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.138, allocations: 5.359 kB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.138, allocations: 0 / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.138, allocations: 3.938 kB / 1.24 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/1.139, allocations: 215.7 kB / 1.24 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.139, allocations: 0 / 1.24 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.139, allocations: 16.36 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.139, allocations: 1.375 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.139, allocations: 4 kB / 1.24 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.139, allocations: 5.312 kB / 1.24 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.139, allocations: 4 kB / 1.24 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/1.139, allocations: 202.1 kB / 1.24 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/1.139, allocations: 96.97 kB / 1.24 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/1.139, allocations: 4 kB / 1.24 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.139, allocations: 8.109 kB / 1.24 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/1.139, allocations: 14.62 kB / 1.24 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.139, allocations: 5.312 kB / 1.24 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001285/1.14, allocations: 137.5 kB / 1.241 GB, free: 440 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.14, allocations: 1.375 kB / 1.241 GB, free: 440 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002613/1.14, allocations: 17.88 kB / 1.241 GB, free: 440 kB / 0.9669 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.0001964/1.14, allocations: 109.2 kB / 1.241 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003789/1.14, allocations: 79.27 kB / 1.241 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.14, allocations: 0 / 1.241 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/1.141, allocations: 41.91 kB / 1.241 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/1.141, allocations: 31.41 kB / 1.241 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/1.142, allocations: 280.6 kB / 1.241 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.142, allocations: 0.7069 MB / 1.242 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/1.142, allocations: 17.66 kB / 1.242 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/1.142, allocations: 0 / 1.242 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.004737/1.147, allocations: 1.67 MB / 1.243 GB, free: 14.45 MB / 0.9825 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