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.001606/0.001606, allocations: 107.6 kB / 15.99 MB, free: 6.352 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.001795/0.001795, allocations: 192.7 kB / 16.91 MB, free: 6.184 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.205/2.205, allocations: 390.3 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 67.78 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2966, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7194/1.016, allocations: 146.9 MB / 1.093 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.018, allocations: 1.124 MB / 1.094 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/1.018, allocations: 2.438 kB / 1.094 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003672/1.018, allocations: 48.8 kB / 1.094 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007862/1.019, allocations: 281.7 kB / 1.095 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/1.019, allocations: 150.4 kB / 1.095 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/1.02, allocations: 224.7 kB / 1.095 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/1.02, allocations: 62.73 kB / 1.095 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/1.02, allocations: 57.09 kB / 1.095 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/1.02, allocations: 62.98 kB / 1.095 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/1.02, allocations: 12.31 kB / 1.095 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/1.021, allocations: 393.7 kB / 1.096 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/1.021, allocations: 27.38 kB / 1.096 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/1.021, allocations: 64.56 kB / 1.096 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/1.021, allocations: 198.6 kB / 1.096 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.022, allocations: 0 / 1.096 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.444e-06/1.022, allocations: 0 / 1.096 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.022, allocations: 2.188 kB / 1.096 GB, free: 6.242 MB / 0.8575 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.0009067/1.022, allocations: 475.3 kB / 1.096 GB, free: 21.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.022, allocations: 10.33 kB / 1.096 GB, free: 21.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/1.023, allocations: 32.64 kB / 1.096 GB, free: 21.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/1.023, allocations: 214.8 kB / 1.097 GB, free: 21.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/1.023, allocations: 7.188 kB / 1.097 GB, free: 21.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/1.023, allocations: 6.938 kB / 1.097 GB, free: 21.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.023, allocations: 115 kB / 1.097 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.023, allocations: 4.844 kB / 1.097 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.023, allocations: 4.844 kB / 1.097 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.023, allocations: 3.547 kB / 1.097 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/1.024, allocations: 93.38 kB / 1.097 GB, free: 21.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/1.024, allocations: 461.9 kB / 1.097 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/1.025, allocations: 88.2 kB / 1.097 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/1.025, allocations: 40.66 kB / 1.097 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/1.025, allocations: 4.859 kB / 1.097 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/1.025, allocations: 39.78 kB / 1.097 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/1.025, allocations: 0.75 kB / 1.097 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/1.025, allocations: 141.8 kB / 1.097 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.025, allocations: 55.31 kB / 1.098 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/1.026, allocations: 181.8 kB / 1.098 GB, free: 21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.026, allocations: 26.64 kB / 1.098 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/1.026, allocations: 122.8 kB / 1.098 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/1.026, allocations: 16.53 kB / 1.098 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/1.026, allocations: 24.16 kB / 1.098 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.026, allocations: 330.5 kB / 1.098 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.026, allocations: 30.14 kB / 1.098 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/1.026, allocations: 31.45 kB / 1.098 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/1.026, allocations: 84.44 kB / 1.098 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.026, allocations: 0 / 1.098 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002715/1.027, allocations: 116.7 kB / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.027, allocations: 4.844 kB / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.027, allocations: 2.734 kB / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.027, allocations: 0 / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.027, allocations: 18.92 kB / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.027, allocations: 0 / 1.098 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/1.027, allocations: 20.33 kB / 1.099 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.027, allocations: 1.5 kB / 1.099 GB, free: 20.47 MB / 0.8731 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.0001007/1.027, allocations: 127.4 kB / 1.099 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/1.027, allocations: 10.03 kB / 1.099 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/1.027, allocations: 126.6 kB / 1.099 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.028, allocations: 2.406 kB / 1.099 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.028, allocations: 5.203 kB / 1.099 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.028, allocations: 1.828 kB / 1.099 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/1.028, allocations: 229.1 kB / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.028, allocations: 0 / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.028, allocations: 18.61 kB / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.028, allocations: 0.7812 kB / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.028, allocations: 0.8125 kB / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.028, allocations: 1.875 kB / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.028, allocations: 0 / 1.099 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/1.028, allocations: 216.6 kB / 1.099 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/1.028, allocations: 95.11 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/1.028, allocations: 1.375 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.029, allocations: 11.2 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.029, allocations: 4.109 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/1.029, allocations: 2.094 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001188/1.029, allocations: 140.5 kB / 1.099 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 3.938 kB / 1.099 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002697/1.029, allocations: 18.81 kB / 1.099 GB, free: 19.78 MB / 0.8731 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.0001946/1.029, allocations: 105.7 kB / 1.1 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002948/1.029, allocations: 78.12 kB / 1.1 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.029, allocations: 6.984 kB / 1.1 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/1.03, allocations: 46.06 kB / 1.1 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/1.03, allocations: 31.34 kB / 1.1 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/1.031, allocations: 317.3 kB / 1.1 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/1.031, allocations: 0.7083 MB / 1.101 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/1.031, allocations: 14.77 kB / 1.101 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.031, allocations: 0 / 1.101 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.004114/1.035, allocations: 1.656 MB / 1.102 GB, free: 18.63 MB / 0.8731 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