Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001365/0.001365, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001806/0.001806, allocations: 186.4 kB / 22.22 MB, free: 5.105 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 443.5 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.88 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7062, allocations: 160.8 MB / 1.218 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1799/0.8861, allocations: 149.5 MB / 1.364 GB, free: 1.238 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.8879, allocations: 1.141 MB / 1.366 GB, free: 96 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.888, allocations: 0 / 1.366 GB, free: 96 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.8883, allocations: 55.67 kB / 1.366 GB, free: 40 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.8892, allocations: 322.7 kB / 1.366 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.8896, allocations: 159.4 kB / 1.366 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.8901, allocations: 239.1 kB / 1.366 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.8903, allocations: 44.94 kB / 1.366 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.8903, allocations: 55.78 kB / 1.366 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.8905, allocations: 59.7 kB / 1.366 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.8905, allocations: 16 kB / 1.366 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.8912, allocations: 379.2 kB / 1.367 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.8912, allocations: 31.91 kB / 1.367 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.8913, allocations: 59.67 kB / 1.367 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.8918, allocations: 293.7 kB / 1.367 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8918, allocations: 3.984 kB / 1.367 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8918, allocations: 0 / 1.367 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8919, allocations: 0 / 1.367 GB, free: 14.41 MB / 1.076 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.0007872/0.8926, allocations: 474.5 kB / 1.368 GB, free: 13.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8927, allocations: 8.031 kB / 1.368 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.893, allocations: 40.81 kB / 1.368 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.8933, allocations: 210.2 kB / 1.368 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.8933, allocations: 11.94 kB / 1.368 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.8934, allocations: 12 kB / 1.368 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.8936, allocations: 117.6 kB / 1.368 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8936, allocations: 3.938 kB / 1.368 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.8937, allocations: 11.94 kB / 1.368 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8937, allocations: 0 / 1.368 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.8939, allocations: 92.58 kB / 1.368 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.8947, allocations: 456.2 kB / 1.369 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.8949, allocations: 86.53 kB / 1.369 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.895, allocations: 40.94 kB / 1.369 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.895, allocations: 3.938 kB / 1.369 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.8951, allocations: 30.56 kB / 1.369 GB, free: 12.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.8951, allocations: 0 / 1.369 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000468/0.8955, allocations: 145.6 kB / 1.369 GB, free: 12.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.8956, allocations: 55.34 kB / 1.369 GB, free: 12.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.8958, allocations: 182.2 kB / 1.369 GB, free: 12.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.8958, allocations: 29.7 kB / 1.369 GB, free: 12.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.8959, allocations: 112.1 kB / 1.369 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.8959, allocations: 23.8 kB / 1.369 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.896, allocations: 25.7 kB / 1.369 GB, free: 12.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8961, allocations: 326.8 kB / 1.37 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.8962, allocations: 27.98 kB / 1.37 GB, free: 11.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.8963, allocations: 40.2 kB / 1.37 GB, free: 11.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.8965, allocations: 80.8 kB / 1.37 GB, free: 11.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8965, allocations: 4 kB / 1.37 GB, free: 11.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002818/0.8968, allocations: 117.6 kB / 1.37 GB, free: 11.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8968, allocations: 4 kB / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8968, allocations: 0 / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8969, allocations: 0 / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.897, allocations: 19.98 kB / 1.37 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.897, allocations: 3.938 kB / 1.37 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8971, allocations: 15.88 kB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8971, allocations: 4 kB / 1.37 GB, free: 11.43 MB / 1.076 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.0001035/0.8972, allocations: 125.8 kB / 1.37 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.8972, allocations: 11.95 kB / 1.37 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.8976, allocations: 123 kB / 1.37 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8976, allocations: 4 kB / 1.37 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8976, allocations: 3.938 kB / 1.37 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8976, allocations: 0 / 1.37 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.8979, allocations: 225.5 kB / 1.37 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8979, allocations: 4 kB / 1.37 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.898, allocations: 23.91 kB / 1.37 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.898, allocations: 4 kB / 1.37 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.898, allocations: 4 kB / 1.37 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.898, allocations: 0 / 1.37 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.898, allocations: 0 / 1.37 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.8983, allocations: 211.4 kB / 1.371 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.8984, allocations: 89.02 kB / 1.371 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.8984, allocations: 4 kB / 1.371 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.8986, allocations: 7.984 kB / 1.371 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.8986, allocations: 0 / 1.371 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.8986, allocations: 7.984 kB / 1.371 GB, free: 10.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001292/0.8987, allocations: 136.2 kB / 1.371 GB, free: 10.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8987, allocations: 0 / 1.371 GB, free: 10.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002624/0.899, allocations: 23.94 kB / 1.371 GB, free: 10.34 MB / 1.076 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.0001572/0.8991, allocations: 111.2 kB / 1.371 GB, free: 10.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.8994, allocations: 83.8 kB / 1.371 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8994, allocations: 0 / 1.371 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.8996, allocations: 35.92 kB / 1.371 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.8999, allocations: 35.97 kB / 1.371 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.9006, allocations: 249.7 kB / 1.371 GB, free: 9.801 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.9009, allocations: 0.708 MB / 1.372 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.014e-05/0.901, allocations: 12.97 kB / 1.372 GB, free: 9.055 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.901, allocations: 11.44 kB / 1.372 GB, free: 9.043 MB / 1.076 GB Notification: Performance of SimCode: time 4.8e-07/0.901, allocations: 4 kB / 1.372 GB, free: 9.039 MB / 1.076 GB Notification: Performance of Templates: time 0.005191/0.9062, allocations: 1.654 MB / 1.374 GB, free: 7.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.425534836016595]