Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001562/0.001562, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001689/0.001689, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.996/2.996, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002088/0.002088, allocations: 65.52 kB / 1.178 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 180.2 MB / 1.354 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1708/0.4896, allocations: 152.3 MB / 1.503 GB, free: 14.97 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.4912, allocations: 1.172 MB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.4913, allocations: 0 / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.4917, allocations: 59.66 kB / 1.504 GB, free: 13.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.4925, allocations: 318.6 kB / 1.504 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.4929, allocations: 171.3 kB / 1.505 GB, free: 13.25 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.4933, allocations: 215.3 kB / 1.505 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.4935, allocations: 49.27 kB / 1.505 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.4935, allocations: 51.8 kB / 1.505 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4936, allocations: 63.75 kB / 1.505 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.4937, allocations: 15.94 kB / 1.505 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.4942, allocations: 383.1 kB / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.4943, allocations: 31.92 kB / 1.505 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.4944, allocations: 63.66 kB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.4948, allocations: 302.9 kB / 1.506 GB, free: 12.1 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4948, allocations: 0 / 1.506 GB, free: 12.1 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4948, allocations: 0 / 1.506 GB, free: 12.1 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4948, allocations: 0 / 1.506 GB, free: 12.1 MB / 1.201 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.0006668/0.4955, allocations: 406.8 kB / 1.506 GB, free: 11.67 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4955, allocations: 8.031 kB / 1.506 GB, free: 11.66 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.496, allocations: 48.8 kB / 1.506 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.4963, allocations: 153.5 kB / 1.506 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4963, allocations: 12 kB / 1.506 GB, free: 11.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4963, allocations: 11.94 kB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.4966, allocations: 117.6 kB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4966, allocations: 0 / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.4966, allocations: 8 kB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4966, allocations: 0 / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.4969, allocations: 91.88 kB / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.4975, allocations: 427.3 kB / 1.507 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4978, allocations: 90.47 kB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4979, allocations: 36.94 kB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.4979, allocations: 8 kB / 1.507 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4979, allocations: 34.56 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4979, allocations: 0 / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=7): time 0.0004166/0.4983, allocations: 129.6 kB / 1.507 GB, free: 10.42 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4984, allocations: 59.28 kB / 1.507 GB, free: 10.35 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4986, allocations: 182.3 kB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4986, allocations: 29.7 kB / 1.507 GB, free: 10.12 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.4986, allocations: 120 kB / 1.508 GB, free: 10 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.4987, allocations: 23.78 kB / 1.508 GB, free: 9.98 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.4987, allocations: 21.72 kB / 1.508 GB, free: 9.953 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4988, allocations: 326.8 kB / 1.508 GB, free: 9.625 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.499, allocations: 35.97 kB / 1.508 GB, free: 9.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.4991, allocations: 31.98 kB / 1.508 GB, free: 9.559 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4993, allocations: 80.8 kB / 1.508 GB, free: 9.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4993, allocations: 0 / 1.508 GB, free: 9.477 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002623/0.4995, allocations: 117.5 kB / 1.508 GB, free: 9.355 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4995, allocations: 8 kB / 1.508 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4995, allocations: 0.5469 kB / 1.508 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4995, allocations: 0 / 1.508 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4997, allocations: 19.98 kB / 1.508 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4997, allocations: 7.938 kB / 1.508 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.4998, allocations: 19.88 kB / 1.508 GB, free: 9.301 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.4998, allocations: 0 / 1.508 GB, free: 9.301 MB / 1.201 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 9.768e-05/0.4999, allocations: 121.8 kB / 1.508 GB, free: 9.172 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.4999, allocations: 7.953 kB / 1.508 GB, free: 9.164 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.5002, allocations: 134.9 kB / 1.508 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5002, allocations: 4 kB / 1.508 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5002, allocations: 0 / 1.508 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5002, allocations: 3.938 kB / 1.508 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.5004, allocations: 200.5 kB / 1.509 GB, free: 8.781 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5004, allocations: 0 / 1.509 GB, free: 8.781 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5005, allocations: 15.98 kB / 1.509 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5006, allocations: 0 / 1.509 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5006, allocations: 0 / 1.509 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5006, allocations: 4 kB / 1.509 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5006, allocations: 0 / 1.509 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.5009, allocations: 215.3 kB / 1.509 GB, free: 8.535 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.5009, allocations: 11.91 kB / 1.509 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5009, allocations: 4 kB / 1.509 GB, free: 8.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.501, allocations: 15.92 kB / 1.509 GB, free: 8.504 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5011, allocations: 3.984 kB / 1.509 GB, free: 8.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5011, allocations: 7.938 kB / 1.509 GB, free: 8.492 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001114/0.5012, allocations: 136.2 kB / 1.509 GB, free: 8.359 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5012, allocations: 0 / 1.509 GB, free: 8.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000241/0.5014, allocations: 24 kB / 1.509 GB, free: 8.336 MB / 1.201 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.0001298/0.5015, allocations: 99.23 kB / 1.509 GB, free: 8.227 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.5018, allocations: 75.88 kB / 1.509 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5018, allocations: 12 kB / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5019, allocations: 35.97 kB / 1.509 GB, free: 8.105 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.5023, allocations: 27.92 kB / 1.509 GB, free: 8.078 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.5028, allocations: 298.7 kB / 1.51 GB, free: 7.754 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5031, allocations: 0.7041 MB / 1.51 GB, free: 7.023 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.5032, allocations: 19.42 kB / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.5032, allocations: 0 / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of Templates: time 0.003333/0.5065, allocations: 1.667 MB / 1.512 GB, free: 5.344 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.469454452977516]