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.001337/0.001337, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001531/0.001531, allocations: 159.3 kB / 23.01 MB, free: 4.598 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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 2.702/2.702, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] 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.002152/0.002152, allocations: 67.89 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6607/0.9618, allocations: 131 MB / 1.245 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.9635, allocations: 1.051 MB / 1.246 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.9637, allocations: 1.438 kB / 1.246 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.964, allocations: 46.7 kB / 1.246 GB, free: 7.051 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.965, allocations: 315.6 kB / 1.247 GB, free: 6.895 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.9654, allocations: 170.7 kB / 1.247 GB, free: 6.809 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.9659, allocations: 220.3 kB / 1.247 GB, free: 6.711 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.9661, allocations: 41.45 kB / 1.247 GB, free: 6.688 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.9662, allocations: 50.22 kB / 1.247 GB, free: 6.664 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.9663, allocations: 61.77 kB / 1.247 GB, free: 6.633 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.9663, allocations: 15.19 kB / 1.247 GB, free: 6.629 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.9668, allocations: 235.9 kB / 1.248 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.9669, allocations: 27.59 kB / 1.248 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.9669, allocations: 48.95 kB / 1.248 GB, free: 6.516 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.9675, allocations: 273 kB / 1.248 GB, free: 6.426 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9675, allocations: 0.9375 kB / 1.248 GB, free: 6.426 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9675, allocations: 0 / 1.248 GB, free: 6.426 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.9675, allocations: 4.734 kB / 1.248 GB, free: 6.422 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.0007729/0.9683, allocations: 411.9 kB / 1.248 GB, free: 6.066 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.9683, allocations: 9.125 kB / 1.248 GB, free: 6.066 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000499/0.9688, allocations: 47.22 kB / 1.248 GB, free: 6.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.9692, allocations: 152.2 kB / 1.248 GB, free: 5.906 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.9692, allocations: 12.34 kB / 1.248 GB, free: 5.898 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.9692, allocations: 6.844 kB / 1.248 GB, free: 5.898 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.9695, allocations: 124.4 kB / 1.249 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.9695, allocations: 1.312 kB / 1.249 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.9695, allocations: 5.766 kB / 1.249 GB, free: 5.824 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9695, allocations: 2 kB / 1.249 GB, free: 5.824 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.9698, allocations: 92.56 kB / 1.249 GB, free: 5.797 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.9705, allocations: 349.3 kB / 1.249 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.9707, allocations: 97.72 kB / 1.249 GB, free: 5.465 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.9708, allocations: 35.7 kB / 1.249 GB, free: 5.449 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.9709, allocations: 1.734 kB / 1.249 GB, free: 5.449 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.9709, allocations: 31.78 kB / 1.249 GB, free: 5.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.9709, allocations: 1.094 kB / 1.249 GB, free: 5.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.9714, allocations: 144.6 kB / 1.249 GB, free: 5.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.9714, allocations: 58.34 kB / 1.249 GB, free: 5.273 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.9716, allocations: 151 kB / 1.25 GB, free: 5.156 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.9716, allocations: 29.7 kB / 1.25 GB, free: 5.121 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.9717, allocations: 116.7 kB / 1.25 GB, free: 5.016 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.9717, allocations: 29 kB / 1.25 GB, free: 4.992 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.9718, allocations: 20.92 kB / 1.25 GB, free: 4.973 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9719, allocations: 325.3 kB / 1.25 GB, free: 4.652 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.972, allocations: 34.72 kB / 1.25 GB, free: 4.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.9722, allocations: 32.2 kB / 1.25 GB, free: 4.633 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.9724, allocations: 78.95 kB / 1.25 GB, free: 4.598 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9724, allocations: 2.438 kB / 1.25 GB, free: 4.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003009/0.9727, allocations: 116 kB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9727, allocations: 5.844 kB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.9727, allocations: 0 / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9727, allocations: 1.469 kB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.9729, allocations: 21.02 kB / 1.25 GB, free: 4.535 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9729, allocations: 5.031 kB / 1.25 GB, free: 4.531 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.973, allocations: 15.48 kB / 1.25 GB, free: 4.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.973, allocations: 1.219 kB / 1.25 GB, free: 4.523 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.0001076/0.9731, allocations: 125.1 kB / 1.25 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.9731, allocations: 12.41 kB / 1.25 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.9735, allocations: 120.2 kB / 1.251 GB, free: 4.328 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9735, allocations: 5.719 kB / 1.251 GB, free: 4.328 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9735, allocations: 0.5156 kB / 1.251 GB, free: 4.328 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9735, allocations: 4.703 kB / 1.251 GB, free: 4.324 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.9737, allocations: 149.7 kB / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9737, allocations: 0.6562 kB / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.9738, allocations: 15.19 kB / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9738, allocations: 2.875 kB / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.9738, allocations: 0.7969 kB / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9738, allocations: 0 / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9738, allocations: 0 / 1.251 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.9742, allocations: 211.7 kB / 1.251 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.9742, allocations: 20.77 kB / 1.251 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.9742, allocations: 0.6094 kB / 1.251 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.9743, allocations: 7.219 kB / 1.251 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.9744, allocations: 12.97 kB / 1.251 GB, free: 3.992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.9744, allocations: 1.625 kB / 1.251 GB, free: 3.992 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001007/0.9745, allocations: 118.3 kB / 1.251 GB, free: 3.906 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9745, allocations: 0 / 1.251 GB, free: 3.906 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002671/0.9747, allocations: 23.25 kB / 1.251 GB, free: 3.902 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.0001509/0.9749, allocations: 111.5 kB / 1.251 GB, free: 3.805 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.9752, allocations: 70.2 kB / 1.251 GB, free: 3.789 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9752, allocations: 0 / 1.251 GB, free: 3.789 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.9753, allocations: 44.77 kB / 1.251 GB, free: 3.773 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.9757, allocations: 33.47 kB / 1.251 GB, free: 3.762 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.9763, allocations: 255.5 kB / 1.252 GB, free: 3.586 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.9764, allocations: 96.14 kB / 1.252 GB, free: 3.512 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.9764, allocations: 15.98 kB / 1.252 GB, free: 3.504 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.9765, allocations: 17.25 kB / 1.252 GB, free: 3.492 MB / 1.107 GB Notification: Performance of SimCode: time 3.81e-07/0.9765, allocations: 0 / 1.252 GB, free: 3.492 MB / 1.107 GB Notification: Performance of Templates: time 0.004885/0.9814, allocations: 1.556 MB / 1.253 GB, free: 3.316 MB / 1.107 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 -s ida -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/jenkins1/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: 8.560394561034627]