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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.093/3.093, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 70.8 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4071, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1978/0.6049, allocations: 131 MB / 1.411 GB, free: 8.48 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.6069, allocations: 1.051 MB / 1.412 GB, free: 7.426 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.6071, allocations: 4 kB / 1.412 GB, free: 7.422 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.6075, allocations: 43.7 kB / 1.412 GB, free: 7.379 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.6085, allocations: 314.6 kB / 1.412 GB, free: 7.07 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.6091, allocations: 171.3 kB / 1.413 GB, free: 6.902 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.6097, allocations: 227.2 kB / 1.413 GB, free: 6.68 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.6098, allocations: 37.28 kB / 1.413 GB, free: 6.641 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.6099, allocations: 43.86 kB / 1.413 GB, free: 6.598 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.6101, allocations: 63.62 kB / 1.413 GB, free: 6.535 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.6101, allocations: 16 kB / 1.413 GB, free: 6.52 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/0.6107, allocations: 235.5 kB / 1.413 GB, free: 6.289 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.6107, allocations: 27.92 kB / 1.413 GB, free: 6.262 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.6108, allocations: 51.72 kB / 1.413 GB, free: 6.211 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.6114, allocations: 279 kB / 1.413 GB, free: 5.938 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6114, allocations: 3.938 kB / 1.413 GB, free: 5.934 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6114, allocations: 0 / 1.413 GB, free: 5.934 MB / 1.108 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6114, allocations: 0 / 1.413 GB, free: 5.934 MB / 1.108 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.000861/0.6123, allocations: 409.3 kB / 1.414 GB, free: 5.504 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6123, allocations: 8.031 kB / 1.414 GB, free: 5.496 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.6129, allocations: 48.8 kB / 1.414 GB, free: 5.449 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.6133, allocations: 148.1 kB / 1.414 GB, free: 5.281 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6133, allocations: 11.94 kB / 1.414 GB, free: 5.27 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.6133, allocations: 11.98 kB / 1.414 GB, free: 5.258 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.6136, allocations: 118.2 kB / 1.414 GB, free: 5.137 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6136, allocations: 4 kB / 1.414 GB, free: 5.133 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.6136, allocations: 8 kB / 1.414 GB, free: 5.125 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.6137, allocations: 0 / 1.414 GB, free: 5.125 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.6139, allocations: 89.69 kB / 1.414 GB, free: 5.039 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.6147, allocations: 368 kB / 1.415 GB, free: 4.648 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.615, allocations: 90.48 kB / 1.415 GB, free: 4.551 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.6151, allocations: 40.94 kB / 1.415 GB, free: 4.508 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.6151, allocations: 3.938 kB / 1.415 GB, free: 4.504 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.6152, allocations: 30.56 kB / 1.415 GB, free: 4.465 MB / 1.108 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6152, allocations: 0 / 1.415 GB, free: 4.465 MB / 1.108 GB Notification: Performance of matching and sorting (n=7): time 0.000482/0.6156, allocations: 137.6 kB / 1.415 GB, free: 4.324 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6157, allocations: 55.41 kB / 1.415 GB, free: 4.258 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.6159, allocations: 152.8 kB / 1.415 GB, free: 4.102 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6159, allocations: 33.7 kB / 1.415 GB, free: 4.062 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.616, allocations: 115.9 kB / 1.415 GB, free: 3.945 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.616, allocations: 27.73 kB / 1.415 GB, free: 3.918 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.6161, allocations: 21.7 kB / 1.415 GB, free: 3.891 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6162, allocations: 322.8 kB / 1.416 GB, free: 3.566 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6164, allocations: 35.97 kB / 1.416 GB, free: 3.531 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.6165, allocations: 32.3 kB / 1.416 GB, free: 3.5 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.6167, allocations: 84.94 kB / 1.416 GB, free: 3.414 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6167, allocations: 0 / 1.416 GB, free: 3.414 MB / 1.108 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002886/0.617, allocations: 109.6 kB / 1.416 GB, free: 3.301 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.617, allocations: 4 kB / 1.416 GB, free: 3.297 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.617, allocations: 0 / 1.416 GB, free: 3.297 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.617, allocations: 0 / 1.416 GB, free: 3.297 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.6172, allocations: 23.92 kB / 1.416 GB, free: 3.273 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6172, allocations: 0 / 1.416 GB, free: 3.273 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.6173, allocations: 19.94 kB / 1.416 GB, free: 3.254 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6173, allocations: 0 / 1.416 GB, free: 3.254 MB / 1.108 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.0001249/0.6174, allocations: 125.8 kB / 1.416 GB, free: 3.121 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.6174, allocations: 7.953 kB / 1.416 GB, free: 3.113 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.6178, allocations: 122.3 kB / 1.416 GB, free: 2.984 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6178, allocations: 4 kB / 1.416 GB, free: 2.98 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6178, allocations: 0 / 1.416 GB, free: 2.98 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6178, allocations: 0 / 1.416 GB, free: 2.98 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.618, allocations: 161.1 kB / 1.416 GB, free: 2.793 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.618, allocations: 4 kB / 1.416 GB, free: 2.789 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6181, allocations: 15.98 kB / 1.416 GB, free: 2.773 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6181, allocations: 0 / 1.416 GB, free: 2.773 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6181, allocations: 0 / 1.416 GB, free: 2.773 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6181, allocations: 4 kB / 1.416 GB, free: 2.77 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6181, allocations: 7.922 kB / 1.416 GB, free: 2.762 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.6185, allocations: 211.3 kB / 1.417 GB, free: 2.539 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.6185, allocations: 11.91 kB / 1.417 GB, free: 2.527 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.6186, allocations: 4 kB / 1.417 GB, free: 2.523 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6187, allocations: 7.984 kB / 1.417 GB, free: 2.516 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.6187, allocations: 8 kB / 1.417 GB, free: 2.508 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.6187, allocations: 0 / 1.417 GB, free: 2.508 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0001167/0.6188, allocations: 119.2 kB / 1.417 GB, free: 2.391 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6188, allocations: 0 / 1.417 GB, free: 2.391 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0002621/0.6191, allocations: 19.94 kB / 1.417 GB, free: 2.371 MB / 1.108 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.0001894/0.6193, allocations: 114.6 kB / 1.417 GB, free: 2.254 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.6196, allocations: 71.94 kB / 1.417 GB, free: 2.184 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6196, allocations: 3.938 kB / 1.417 GB, free: 2.18 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6197, allocations: 39.97 kB / 1.417 GB, free: 2.141 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.6201, allocations: 31.86 kB / 1.417 GB, free: 2.109 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.6207, allocations: 245.1 kB / 1.417 GB, free: 1.844 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.6209, allocations: 94.22 kB / 1.417 GB, free: 1.73 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 7.601e-05/0.6209, allocations: 16.42 kB / 1.417 GB, free: 1.715 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.621, allocations: 15.44 kB / 1.417 GB, free: 1.699 MB / 1.108 GB Notification: Performance of SimCode: time 4.51e-07/0.621, allocations: 0 / 1.417 GB, free: 1.699 MB / 1.108 GB Notification: Performance of Templates: time 0.005512/0.6265, allocations: 1.68 MB / 1.419 GB, free: 64 kB / 1.108 GB " [Timeout remaining time 299] 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: 10.260767426341772]