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.009216/0.009216, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001225/0.001225, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.254/2.254, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 63.91 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8091, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1641/0.9732, allocations: 149 MB / 1.233 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.9748, allocations: 1.141 MB / 1.235 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.9749, allocations: 2.281 kB / 1.235 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.9753, allocations: 56.8 kB / 1.235 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007619/0.9761, allocations: 314.2 kB / 1.235 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.9764, allocations: 167.2 kB / 1.235 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.9769, allocations: 222.3 kB / 1.235 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.977, allocations: 60.45 kB / 1.235 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.9771, allocations: 55.72 kB / 1.235 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.9772, allocations: 55.52 kB / 1.235 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.9772, allocations: 15.62 kB / 1.235 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.9778, allocations: 366.2 kB / 1.236 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.9778, allocations: 37.5 kB / 1.236 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.9779, allocations: 60.67 kB / 1.236 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.9783, allocations: 298.7 kB / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9783, allocations: 0 / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9784, allocations: 0 / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9784, allocations: 0 / 1.236 GB, free: 3.688 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.000642/0.979, allocations: 470.2 kB / 1.237 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.979, allocations: 9.406 kB / 1.237 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.9793, allocations: 43.31 kB / 1.237 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.9796, allocations: 201.5 kB / 1.237 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.9797, allocations: 7.344 kB / 1.237 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.9797, allocations: 10.75 kB / 1.237 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.98, allocations: 119.5 kB / 1.237 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.98, allocations: 0 / 1.237 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.98, allocations: 5.125 kB / 1.237 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.98, allocations: 6.312 kB / 1.237 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.9803, allocations: 88.19 kB / 1.237 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.9809, allocations: 460.1 kB / 1.238 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.9811, allocations: 94.23 kB / 1.238 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.9813, allocations: 38.41 kB / 1.238 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.9813, allocations: 1 kB / 1.238 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.9813, allocations: 31.69 kB / 1.238 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.9813, allocations: 1.094 kB / 1.238 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004236/0.9818, allocations: 143 kB / 1.238 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.9818, allocations: 51.41 kB / 1.238 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.982, allocations: 190.2 kB / 1.238 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.982, allocations: 30.78 kB / 1.238 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.9821, allocations: 126.3 kB / 1.238 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.9821, allocations: 18.97 kB / 1.238 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.9822, allocations: 26.89 kB / 1.238 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9823, allocations: 329 kB / 1.239 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9824, allocations: 29.14 kB / 1.239 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.9825, allocations: 34.47 kB / 1.239 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.9827, allocations: 76.03 kB / 1.239 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9827, allocations: 1.062 kB / 1.239 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002721/0.983, allocations: 113 kB / 1.239 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.983, allocations: 9.234 kB / 1.239 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9831, allocations: 1.031 kB / 1.239 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.9831, allocations: 1.094 kB / 1.239 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.9832, allocations: 21.05 kB / 1.239 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9832, allocations: 1.188 kB / 1.239 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.9833, allocations: 24.22 kB / 1.239 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.9833, allocations: 2.219 kB / 1.239 GB, free: 1.309 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 9.584e-05/0.9834, allocations: 127.4 kB / 1.239 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.9835, allocations: 13.53 kB / 1.239 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.9838, allocations: 122.2 kB / 1.239 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9838, allocations: 5.25 kB / 1.239 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9838, allocations: 0 / 1.239 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9838, allocations: 9.453 kB / 1.239 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.9841, allocations: 218.3 kB / 1.239 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.9841, allocations: 0 / 1.239 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.9842, allocations: 16.8 kB / 1.239 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9842, allocations: 5.688 kB / 1.239 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9842, allocations: 0 / 1.239 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9842, allocations: 0 / 1.239 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9842, allocations: 1.062 kB / 1.239 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.9845, allocations: 205.4 kB / 1.24 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.9846, allocations: 101.4 kB / 1.24 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.9846, allocations: 4 kB / 1.24 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.9847, allocations: 7.969 kB / 1.24 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.9848, allocations: 10.67 kB / 1.24 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.9848, allocations: 9.188 kB / 1.24 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001106/0.9849, allocations: 134.8 kB / 1.24 GB, free: 432 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9849, allocations: 0 / 1.24 GB, free: 432 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002485/0.9852, allocations: 21.88 kB / 1.24 GB, free: 428 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.000136/0.9853, allocations: 105.2 kB / 1.24 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.9856, allocations: 70.58 kB / 1.24 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9856, allocations: 0 / 1.24 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.9857, allocations: 43.28 kB / 1.24 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.9861, allocations: 41.67 kB / 1.24 GB, free: 260 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.9866, allocations: 254 kB / 1.24 GB, free: 60 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.9868, allocations: 0.7099 MB / 1.241 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.061e-05/0.9869, allocations: 11.77 kB / 1.241 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.987, allocations: 12.94 kB / 1.241 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of SimCode: time 1.663e-06/0.987, allocations: 1.375 kB / 1.241 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.004153/0.9911, allocations: 1.608 MB / 1.243 GB, free: 14.52 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/jenkins/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