Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001164/0.001164, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001435/0.001435, allocations: 177.3 kB / 15.94 MB, free: 228 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.321/1.321, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 15.94 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5976/0.598, allocations: 153.6 MB / 1.021 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1322/0.7302, allocations: 125.9 MB / 1.144 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.7313, allocations: 0.8575 MB / 1.145 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.7314, allocations: 3.938 kB / 1.145 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.7316, allocations: 35.81 kB / 1.145 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.732, allocations: 147.5 kB / 1.145 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.7322, allocations: 95.8 kB / 1.145 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.7328, allocations: 219.5 kB / 1.145 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.7329, allocations: 45.28 kB / 1.145 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.733, allocations: 39.78 kB / 1.145 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.733, allocations: 35.78 kB / 1.145 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.733, allocations: 4 kB / 1.145 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.7334, allocations: 203.7 kB / 1.145 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.7335, allocations: 23.91 kB / 1.145 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.7335, allocations: 45.64 kB / 1.145 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.7337, allocations: 165.6 kB / 1.146 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.7337, allocations: 0 / 1.146 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7337, allocations: 0 / 1.146 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.7338, allocations: 0 / 1.146 GB, free: 1.039 MB / 0.8887 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.0005598/0.7343, allocations: 442.7 kB / 1.146 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7344, allocations: 15.98 kB / 1.146 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.7346, allocations: 35.78 kB / 1.146 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.7348, allocations: 206.9 kB / 1.146 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.7349, allocations: 7.984 kB / 1.146 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.7349, allocations: 8 kB / 1.146 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.7352, allocations: 125.6 kB / 1.146 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7352, allocations: 0 / 1.146 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7352, allocations: 7.984 kB / 1.146 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.7352, allocations: 4 kB / 1.146 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.7355, allocations: 99.88 kB / 1.147 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.7362, allocations: 460.1 kB / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.7364, allocations: 98.53 kB / 1.147 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.7364, allocations: 4 kB / 1.147 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.7364, allocations: 34.5 kB / 1.147 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.7364, allocations: 0 / 1.147 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004411/0.7369, allocations: 161.8 kB / 1.147 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.7369, allocations: 51.41 kB / 1.147 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.7371, allocations: 174.7 kB / 1.147 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.7371, allocations: 29.7 kB / 1.147 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.7372, allocations: 123.9 kB / 1.148 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.7372, allocations: 23.72 kB / 1.148 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.7372, allocations: 3.938 kB / 1.148 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.7373, allocations: 326.8 kB / 1.148 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.7374, allocations: 35.97 kB / 1.148 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.7376, allocations: 36.3 kB / 1.148 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.7377, allocations: 52 kB / 1.148 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7377, allocations: 0 / 1.148 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000277/0.738, allocations: 133.5 kB / 1.148 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.738, allocations: 4 kB / 1.148 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.738, allocations: 0 / 1.148 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.738, allocations: 0 / 1.148 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.7382, allocations: 27.98 kB / 1.148 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7382, allocations: 0 / 1.148 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.7383, allocations: 15.84 kB / 1.148 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7383, allocations: 7.984 kB / 1.148 GB, free: 14.12 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 9.429e-05/0.7384, allocations: 129.7 kB / 1.148 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.7384, allocations: 15.81 kB / 1.148 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.7388, allocations: 131 kB / 1.148 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7388, allocations: 0 / 1.148 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7388, allocations: 4 kB / 1.149 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.7388, allocations: 0 / 1.149 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.739, allocations: 221.5 kB / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.739, allocations: 0 / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.7391, allocations: 15.98 kB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.7391, allocations: 4 kB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7392, allocations: 0 / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7392, allocations: 3.938 kB / 1.149 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7392, allocations: 0 / 1.149 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.7395, allocations: 223.3 kB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.7396, allocations: 100.9 kB / 1.149 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.7396, allocations: 0 / 1.149 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7397, allocations: 15.98 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.7398, allocations: 4 kB / 1.149 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.7398, allocations: 4 kB / 1.149 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001125/0.7399, allocations: 133.2 kB / 1.149 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.532e-06/0.7399, allocations: 0 / 1.149 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002649/0.7402, allocations: 27.94 kB / 1.149 GB, free: 13.01 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.0001525/0.7403, allocations: 107.2 kB / 1.149 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.7406, allocations: 79.95 kB / 1.149 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7406, allocations: 0 / 1.149 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.7407, allocations: 55.91 kB / 1.149 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.741, allocations: 30.25 kB / 1.149 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.7416, allocations: 305.4 kB / 1.15 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.7418, allocations: 0.716 MB / 1.15 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.166e-05/0.7419, allocations: 16.81 kB / 1.15 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.742, allocations: 11.44 kB / 1.151 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.742, allocations: 4 kB / 1.151 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.003822/0.7458, allocations: 1.421 MB / 1.152 GB, free: 10.23 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches