Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.03 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.3538/1.499, allocations: 149.5 MB / 1.418 GB, free: 9.219 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00248/1.501, allocations: 1.139 MB / 1.419 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/1.501, allocations: 1.219 kB / 1.419 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004043/1.502, allocations: 57.36 kB / 1.419 GB, free: 8.258 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008653/1.503, allocations: 313.8 kB / 1.419 GB, free: 8.027 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/1.503, allocations: 163.3 kB / 1.42 GB, free: 7.918 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004699/1.503, allocations: 230.5 kB / 1.42 GB, free: 7.781 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/1.504, allocations: 45.5 kB / 1.42 GB, free: 7.754 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/1.504, allocations: 55.83 kB / 1.42 GB, free: 7.719 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/1.504, allocations: 60.52 kB / 1.42 GB, free: 7.676 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/1.504, allocations: 12.06 kB / 1.42 GB, free: 7.676 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/1.504, allocations: 375.6 kB / 1.42 GB, free: 7.465 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/1.505, allocations: 36.48 kB / 1.42 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/1.505, allocations: 61.67 kB / 1.42 GB, free: 7.391 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/1.505, allocations: 290.6 kB / 1.421 GB, free: 7.215 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.505, allocations: 4 kB / 1.421 GB, free: 7.211 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.723e-06/1.505, allocations: 0 / 1.421 GB, free: 7.211 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.505, allocations: 1.188 kB / 1.421 GB, free: 7.211 MB / 1.107 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.0008381/1.506, allocations: 481.3 kB / 1.421 GB, free: 6.746 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.506, allocations: 9.25 kB / 1.421 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/1.506, allocations: 36.17 kB / 1.421 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/1.507, allocations: 213.3 kB / 1.421 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.507, allocations: 19.97 kB / 1.421 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.507, allocations: 6.562 kB / 1.421 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.507, allocations: 116.7 kB / 1.422 GB, free: 6.402 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.507, allocations: 3.938 kB / 1.422 GB, free: 6.398 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.507, allocations: 5.219 kB / 1.422 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.507, allocations: 2.375 kB / 1.422 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.507, allocations: 92.09 kB / 1.422 GB, free: 6.352 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/1.508, allocations: 455.5 kB / 1.422 GB, free: 5.93 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/1.508, allocations: 87.91 kB / 1.422 GB, free: 5.871 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/1.508, allocations: 46.33 kB / 1.422 GB, free: 5.84 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/1.508, allocations: 5.281 kB / 1.422 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.508, allocations: 35.91 kB / 1.422 GB, free: 5.793 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.508, allocations: 0 / 1.422 GB, free: 5.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004629/1.509, allocations: 141.9 kB / 1.422 GB, free: 5.707 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.509, allocations: 56.66 kB / 1.422 GB, free: 5.641 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.509, allocations: 190 kB / 1.423 GB, free: 5.492 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.509, allocations: 26.89 kB / 1.423 GB, free: 5.461 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/1.509, allocations: 110.2 kB / 1.423 GB, free: 5.355 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/1.509, allocations: 26 kB / 1.423 GB, free: 5.332 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/1.509, allocations: 23.05 kB / 1.423 GB, free: 5.309 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.51, allocations: 325.8 kB / 1.423 GB, free: 4.984 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.51, allocations: 36.89 kB / 1.423 GB, free: 4.965 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/1.51, allocations: 37.31 kB / 1.423 GB, free: 4.945 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/1.51, allocations: 72.91 kB / 1.423 GB, free: 4.906 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.51, allocations: 1.188 kB / 1.423 GB, free: 4.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000272/1.51, allocations: 109.8 kB / 1.423 GB, free: 4.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.51, allocations: 9.078 kB / 1.423 GB, free: 4.836 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.51, allocations: 4 kB / 1.423 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.51, allocations: 1.375 kB / 1.423 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.51, allocations: 25.45 kB / 1.423 GB, free: 4.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.51, allocations: 3.938 kB / 1.423 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.511, allocations: 13.14 kB / 1.423 GB, free: 4.809 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/1.511, allocations: 2.625 kB / 1.423 GB, free: 4.809 MB / 1.107 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.0001082/1.511, allocations: 127.4 kB / 1.424 GB, free: 4.68 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/1.511, allocations: 13.16 kB / 1.424 GB, free: 4.672 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/1.511, allocations: 122.1 kB / 1.424 GB, free: 4.586 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.511, allocations: 1.406 kB / 1.424 GB, free: 4.586 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.511, allocations: 0 / 1.424 GB, free: 4.586 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.511, allocations: 5.297 kB / 1.424 GB, free: 4.582 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.511, allocations: 222.8 kB / 1.424 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.511, allocations: 0 / 1.424 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.511, allocations: 20.02 kB / 1.424 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.511, allocations: 5.438 kB / 1.424 GB, free: 4.328 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.511, allocations: 0 / 1.424 GB, free: 4.328 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.511, allocations: 5.469 kB / 1.424 GB, free: 4.324 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.511, allocations: 4 kB / 1.424 GB, free: 4.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/1.512, allocations: 209.6 kB / 1.424 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/1.512, allocations: 88.64 kB / 1.424 GB, free: 4.043 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.512, allocations: 1.125 kB / 1.424 GB, free: 4.043 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/1.512, allocations: 8.406 kB / 1.424 GB, free: 4.039 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/1.512, allocations: 10.33 kB / 1.424 GB, free: 4.031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/1.512, allocations: 2.656 kB / 1.424 GB, free: 4.031 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001318/1.512, allocations: 137 kB / 1.424 GB, free: 3.926 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.512, allocations: 0 / 1.424 GB, free: 3.926 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002609/1.512, allocations: 31.2 kB / 1.424 GB, free: 3.914 MB / 1.107 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.0001916/1.513, allocations: 103 kB / 1.424 GB, free: 3.824 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002988/1.513, allocations: 82.61 kB / 1.425 GB, free: 3.785 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/1.513, allocations: 0 / 1.425 GB, free: 3.785 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.513, allocations: 44.81 kB / 1.425 GB, free: 3.762 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/1.513, allocations: 28 kB / 1.425 GB, free: 3.75 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/1.514, allocations: 264.5 kB / 1.425 GB, free: 3.559 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/1.514, allocations: 0.7104 MB / 1.426 GB, free: 2.844 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.139e-05/1.514, allocations: 15.34 kB / 1.426 GB, free: 2.836 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/1.515, allocations: 17.31 kB / 1.426 GB, free: 2.824 MB / 1.107 GB Notification: Performance of SimCode: time 7.61e-07/1.515, allocations: 0 / 1.426 GB, free: 2.824 MB / 1.107 GB Notification: Performance of Templates: time 0.005093/1.52, allocations: 1.626 MB / 1.427 GB, free: 2.012 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.683331176638603]