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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001687/0.001687, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.002087/0.002087, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.53 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5327/0.7798, allocations: 149 MB / 1.097 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.781, allocations: 1.13 MB / 1.098 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.7811, allocations: 2.438 kB / 1.098 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.7814, allocations: 60.05 kB / 1.098 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.782, allocations: 307.2 kB / 1.098 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.7823, allocations: 163.5 kB / 1.098 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.7827, allocations: 223.5 kB / 1.098 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.7828, allocations: 61.58 kB / 1.098 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.7829, allocations: 46.36 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.783, allocations: 65.02 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.783, allocations: 11.69 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.7836, allocations: 369.3 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.7836, allocations: 30.72 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.7837, allocations: 60.48 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.7841, allocations: 297.7 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7841, allocations: 1.688 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7841, allocations: 0.9062 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7841, allocations: 4 kB / 1.099 GB, free: 5.949 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.0006939/0.7848, allocations: 464.5 kB / 1.1 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.7849, allocations: 8.5 kB / 1.1 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.7851, allocations: 35.84 kB / 1.1 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.7854, allocations: 211.1 kB / 1.1 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.7854, allocations: 13.2 kB / 1.1 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7854, allocations: 16.16 kB / 1.1 GB, free: 21.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.7857, allocations: 113.7 kB / 1.1 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7857, allocations: 0 / 1.1 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7857, allocations: 5.062 kB / 1.1 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.7857, allocations: 2.781 kB / 1.1 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.786, allocations: 98.95 kB / 1.1 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.7866, allocations: 454.8 kB / 1.101 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.7868, allocations: 90.84 kB / 1.101 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7869, allocations: 35.98 kB / 1.101 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.7869, allocations: 8.422 kB / 1.101 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.787, allocations: 31.78 kB / 1.101 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.787, allocations: 0 / 1.101 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0003969/0.7874, allocations: 144.9 kB / 1.101 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7874, allocations: 53.83 kB / 1.101 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.7876, allocations: 179.6 kB / 1.101 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.7876, allocations: 29.7 kB / 1.101 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.7877, allocations: 116.2 kB / 1.101 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.7877, allocations: 20.31 kB / 1.101 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.7877, allocations: 27.36 kB / 1.101 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.7878, allocations: 324.8 kB / 1.102 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.7879, allocations: 30.39 kB / 1.102 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.788, allocations: 34.89 kB / 1.102 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.7882, allocations: 80.48 kB / 1.102 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7882, allocations: 1.094 kB / 1.102 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002432/0.7885, allocations: 112.2 kB / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7885, allocations: 7.203 kB / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7885, allocations: 0.9688 kB / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.7885, allocations: 0 / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.7887, allocations: 22.12 kB / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7887, allocations: 1.234 kB / 1.102 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.7888, allocations: 19.64 kB / 1.102 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.7888, allocations: 2.719 kB / 1.102 GB, free: 20.19 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 8.126e-05/0.7889, allocations: 126 kB / 1.102 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.7889, allocations: 15.12 kB / 1.102 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.7892, allocations: 126.4 kB / 1.102 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7892, allocations: 5.031 kB / 1.102 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7892, allocations: 1.094 kB / 1.102 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7892, allocations: 0 / 1.102 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.7895, allocations: 222.8 kB / 1.102 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7895, allocations: 2.234 kB / 1.102 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.7896, allocations: 14.44 kB / 1.103 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7896, allocations: 1.953 kB / 1.103 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.7896, allocations: 4.938 kB / 1.103 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7896, allocations: 3.141 kB / 1.103 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7896, allocations: 2.672 kB / 1.103 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.7899, allocations: 217.5 kB / 1.103 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.7899, allocations: 93.2 kB / 1.103 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.79, allocations: 2.062 kB / 1.103 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7901, allocations: 9.844 kB / 1.103 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.7901, allocations: 4.641 kB / 1.103 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.7901, allocations: 3.031 kB / 1.103 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000107/0.7902, allocations: 142.8 kB / 1.103 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7902, allocations: 0 / 1.103 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002326/0.7905, allocations: 22.89 kB / 1.103 GB, free: 19.49 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.0001303/0.7906, allocations: 107.3 kB / 1.103 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.7909, allocations: 79.97 kB / 1.103 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7909, allocations: 1.125 kB / 1.103 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.791, allocations: 42.53 kB / 1.103 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.7913, allocations: 28.38 kB / 1.103 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.7918, allocations: 258.5 kB / 1.103 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.792, allocations: 0.7053 MB / 1.104 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.999e-05/0.7921, allocations: 13.78 kB / 1.104 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.7922, allocations: 13.25 kB / 1.104 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of SimCode: time 9.11e-07/0.7922, allocations: 3.938 kB / 1.104 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.7217/1.514, allocations: 1.585 MB / 1.106 GB, free: 18.43 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 -s cvode -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