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.001671/0.001671, allocations: 83.19 kB / 19.76 MB, free: 2.016 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.001953/0.001953, allocations: 154 kB / 23.01 MB, free: 4.973 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.886/2.886, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] 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.002185/0.002185, allocations: 71.84 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8913, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1746/1.066, allocations: 131 MB / 1.315 GB, free: 2.855 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001722/1.068, allocations: 1.028 MB / 1.316 GB, free: 1.824 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/1.068, allocations: 7.938 kB / 1.316 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/1.068, allocations: 55.69 kB / 1.316 GB, free: 1.762 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008353/1.069, allocations: 314.6 kB / 1.316 GB, free: 1.453 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/1.069, allocations: 167.3 kB / 1.316 GB, free: 1.289 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004448/1.07, allocations: 231.3 kB / 1.316 GB, free: 1.062 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/1.07, allocations: 37.3 kB / 1.316 GB, free: 1.027 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/1.07, allocations: 51.78 kB / 1.316 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/1.07, allocations: 59.69 kB / 1.316 GB, free: 0.918 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/1.07, allocations: 12 kB / 1.316 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/1.07, allocations: 235.5 kB / 1.317 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/1.071, allocations: 31.84 kB / 1.317 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/1.071, allocations: 55.72 kB / 1.317 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/1.071, allocations: 278.7 kB / 1.317 GB, free: 328 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.071, allocations: 0 / 1.317 GB, free: 328 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.734e-06/1.071, allocations: 0 / 1.317 GB, free: 328 kB / 1.154 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.071, allocations: 0 / 1.317 GB, free: 328 kB / 1.154 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.0007817/1.072, allocations: 393.3 kB / 1.317 GB, free: 15.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.072, allocations: 12.03 kB / 1.317 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/1.072, allocations: 48.8 kB / 1.317 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/1.073, allocations: 165.4 kB / 1.318 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.073, allocations: 8 kB / 1.318 GB, free: 15.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.073, allocations: 8 kB / 1.318 GB, free: 15.64 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/1.073, allocations: 113.6 kB / 1.318 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.073, allocations: 0 / 1.318 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.073, allocations: 0 / 1.318 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.073, allocations: 4 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/1.073, allocations: 104.5 kB / 1.318 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/1.074, allocations: 352 kB / 1.318 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/1.074, allocations: 90.53 kB / 1.318 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.074, allocations: 32.95 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/1.074, allocations: 3.984 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.074, allocations: 38.56 kB / 1.318 GB, free: 14.86 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.074, allocations: 7.938 kB / 1.318 GB, free: 14.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=7): time 0.0004589/1.075, allocations: 137.5 kB / 1.319 GB, free: 14.71 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.075, allocations: 51.41 kB / 1.319 GB, free: 14.65 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/1.075, allocations: 159.8 kB / 1.319 GB, free: 14.49 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/1.075, allocations: 25.7 kB / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/1.075, allocations: 119.9 kB / 1.319 GB, free: 14.34 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/1.075, allocations: 23.78 kB / 1.319 GB, free: 14.31 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/1.075, allocations: 21.72 kB / 1.319 GB, free: 14.29 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.075, allocations: 322.8 kB / 1.319 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/1.075, allocations: 31.98 kB / 1.319 GB, free: 13.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.076, allocations: 31.97 kB / 1.319 GB, free: 13.9 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/1.076, allocations: 77.27 kB / 1.319 GB, free: 13.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.076, allocations: 3.938 kB / 1.319 GB, free: 13.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002844/1.076, allocations: 121.5 kB / 1.319 GB, free: 13.69 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.076, allocations: 8 kB / 1.319 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.076, allocations: 0 / 1.319 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.076, allocations: 4 kB / 1.319 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/1.076, allocations: 15.98 kB / 1.319 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.076, allocations: 0 / 1.319 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/1.076, allocations: 19.8 kB / 1.319 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/1.076, allocations: 4 kB / 1.32 GB, free: 13.64 MB / 1.17 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.0001065/1.076, allocations: 121.8 kB / 1.32 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/1.077, allocations: 7.953 kB / 1.32 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/1.077, allocations: 126.4 kB / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.077, allocations: 0 / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.077, allocations: 0 / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.077, allocations: 7.938 kB / 1.32 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/1.077, allocations: 153.2 kB / 1.32 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.077, allocations: 0 / 1.32 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/1.077, allocations: 15.98 kB / 1.32 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.077, allocations: 4 kB / 1.32 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.077, allocations: 4 kB / 1.32 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.077, allocations: 4 kB / 1.32 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.077, allocations: 3.938 kB / 1.32 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/1.078, allocations: 203.4 kB / 1.32 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/1.078, allocations: 11.89 kB / 1.32 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/1.078, allocations: 3.984 kB / 1.32 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/1.078, allocations: 8 kB / 1.32 GB, free: 12.92 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.078, allocations: 3.984 kB / 1.32 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.078, allocations: 4 kB / 1.32 GB, free: 12.91 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001063/1.078, allocations: 125.8 kB / 1.32 GB, free: 12.79 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.078, allocations: 0 / 1.32 GB, free: 12.79 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002554/1.078, allocations: 31.89 kB / 1.32 GB, free: 12.76 MB / 1.17 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.000142/1.078, allocations: 97 kB / 1.32 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002891/1.079, allocations: 75.88 kB / 1.32 GB, free: 12.58 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.079, allocations: 0 / 1.32 GB, free: 12.58 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.079, allocations: 43.97 kB / 1.321 GB, free: 12.54 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.079, allocations: 31.91 kB / 1.321 GB, free: 12.51 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/1.08, allocations: 257 kB / 1.321 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.08, allocations: 98.27 kB / 1.321 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.387e-05/1.08, allocations: 8.484 kB / 1.321 GB, free: 12.1 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/1.08, allocations: 16.5 kB / 1.321 GB, free: 12.09 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/1.08, allocations: 0 / 1.321 GB, free: 12.09 MB / 1.17 GB Notification: Performance of Templates: time 0.005037/1.085, allocations: 1.571 MB / 1.322 GB, free: 10.55 MB / 1.17 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 -s ida -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: 8.974967718007974]