Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001972/0.001972, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00266/0.00266, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002078/0.002078, allocations: 63.34 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4263, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1917/0.618, allocations: 131 MB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.6197, allocations: 1.043 MB / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.6198, allocations: 0 / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.6202, allocations: 55.62 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008959/0.6211, allocations: 310.7 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.6215, allocations: 175.3 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.622, allocations: 215.3 kB / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.6222, allocations: 45.28 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.6223, allocations: 59.72 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.6224, allocations: 55.77 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.6224, allocations: 12 kB / 1.457 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.6228, allocations: 247.4 kB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.6229, allocations: 31.86 kB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.623, allocations: 47.73 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.6234, allocations: 283 kB / 1.458 GB, free: 10.84 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6234, allocations: 0 / 1.458 GB, free: 10.84 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6234, allocations: 0 / 1.458 GB, free: 10.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.6235, allocations: 0 / 1.458 GB, free: 10.84 MB / 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.0007521/0.6242, allocations: 409.2 kB / 1.458 GB, free: 10.41 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6242, allocations: 8.031 kB / 1.458 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.6248, allocations: 52.8 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.6251, allocations: 147.9 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.6251, allocations: 11.94 kB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.6251, allocations: 15.98 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.6254, allocations: 109.6 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6255, allocations: 0 / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.6255, allocations: 4 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.6255, allocations: 4 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.6258, allocations: 95.88 kB / 1.458 GB, free: 9.941 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.6265, allocations: 367.8 kB / 1.459 GB, free: 9.551 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.6267, allocations: 86.61 kB / 1.459 GB, free: 9.457 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.6268, allocations: 36.88 kB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6268, allocations: 0 / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.6269, allocations: 34.56 kB / 1.459 GB, free: 9.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.6269, allocations: 4 kB / 1.459 GB, free: 9.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.000462/0.6273, allocations: 145.5 kB / 1.459 GB, free: 9.223 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6274, allocations: 51.41 kB / 1.459 GB, free: 9.16 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.6276, allocations: 147.5 kB / 1.459 GB, free: 9.008 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.6276, allocations: 25.7 kB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.6277, allocations: 123.9 kB / 1.459 GB, free: 8.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.6277, allocations: 23.8 kB / 1.459 GB, free: 8.828 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.6278, allocations: 21.7 kB / 1.459 GB, free: 8.801 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.6279, allocations: 326.8 kB / 1.46 GB, free: 8.473 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.628, allocations: 31.97 kB / 1.46 GB, free: 8.441 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.6282, allocations: 27.98 kB / 1.46 GB, free: 8.414 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.6284, allocations: 77.28 kB / 1.46 GB, free: 8.336 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6284, allocations: 0 / 1.46 GB, free: 8.336 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002921/0.6287, allocations: 125.5 kB / 1.46 GB, free: 8.207 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6287, allocations: 4 kB / 1.46 GB, free: 8.203 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6287, allocations: 4 kB / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6287, allocations: 0 / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6288, allocations: 15.98 kB / 1.46 GB, free: 8.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6289, allocations: 0 / 1.46 GB, free: 8.184 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.629, allocations: 15.94 kB / 1.46 GB, free: 8.168 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.629, allocations: 4 kB / 1.46 GB, free: 8.164 MB / 1.154 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.0001274/0.6291, allocations: 126.2 kB / 1.46 GB, free: 8.031 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.6291, allocations: 11.95 kB / 1.46 GB, free: 8.02 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.6295, allocations: 130.2 kB / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6295, allocations: 0 / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6295, allocations: 4 kB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6295, allocations: 0 / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.6297, allocations: 157.2 kB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6297, allocations: 4 kB / 1.46 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.6298, allocations: 15.98 kB / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6298, allocations: 0 / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6299, allocations: 4 kB / 1.46 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6299, allocations: 0 / 1.46 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6299, allocations: 0 / 1.46 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.6302, allocations: 219.3 kB / 1.461 GB, free: 7.441 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.6302, allocations: 11.95 kB / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.6303, allocations: 0 / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.6304, allocations: 7.984 kB / 1.461 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.6304, allocations: 4 kB / 1.461 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6304, allocations: 0 / 1.461 GB, free: 7.418 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000105/0.6305, allocations: 125.5 kB / 1.461 GB, free: 7.297 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6305, allocations: 0 / 1.461 GB, free: 7.297 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002661/0.6308, allocations: 27.89 kB / 1.461 GB, free: 7.27 MB / 1.154 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.0001759/0.631, allocations: 99.23 kB / 1.461 GB, free: 7.164 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.6313, allocations: 79.89 kB / 1.461 GB, free: 7.086 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6313, allocations: 0 / 1.461 GB, free: 7.086 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.6314, allocations: 39.97 kB / 1.461 GB, free: 7.047 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.6318, allocations: 31.86 kB / 1.461 GB, free: 7.016 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.6324, allocations: 257 kB / 1.461 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.6325, allocations: 94.28 kB / 1.461 GB, free: 6.625 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.4e-05/0.6326, allocations: 8.422 kB / 1.461 GB, free: 6.617 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.6326, allocations: 15.44 kB / 1.461 GB, free: 6.602 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/0.6326, allocations: 0 / 1.461 GB, free: 6.602 MB / 1.154 GB Notification: Performance of Templates: time 0.005403/0.638, allocations: 1.721 MB / 1.463 GB, free: 4.918 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.82316941099998]