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.001819/0.001819, allocations: 103.6 kB / 18.94 MB, free: 2.688 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.002327/0.002327, allocations: 213.5 kB / 22.24 MB, free: 5.25 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.797 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.399/3.399, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002226/0.002226, allocations: 69.25 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4224, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1853/0.6077, allocations: 131 MB / 1.453 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.6094, allocations: 1.051 MB / 1.455 GB, free: 13.31 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.6095, allocations: 4 kB / 1.455 GB, free: 13.31 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.6099, allocations: 47.64 kB / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008019/0.6107, allocations: 310.7 kB / 1.455 GB, free: 12.96 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.6111, allocations: 167.3 kB / 1.455 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.6116, allocations: 231.2 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.6117, allocations: 37.28 kB / 1.455 GB, free: 12.53 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.6118, allocations: 59.72 kB / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.6119, allocations: 51.77 kB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.6119, allocations: 15.94 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.6123, allocations: 239.4 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.6124, allocations: 23.92 kB / 1.456 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.6125, allocations: 59.72 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.6129, allocations: 267.1 kB / 1.456 GB, free: 11.83 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6129, allocations: 0 / 1.456 GB, free: 11.83 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6129, allocations: 4 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6129, allocations: 0 / 1.456 GB, free: 11.82 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.0007254/0.6136, allocations: 409.2 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6137, allocations: 8.031 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.6142, allocations: 48.8 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.6145, allocations: 154.3 kB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.6145, allocations: 11.94 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.6145, allocations: 12 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.6148, allocations: 113.6 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.6148, allocations: 0 / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6148, allocations: 4 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6148, allocations: 4 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.6151, allocations: 91.88 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.6157, allocations: 363.9 kB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.616, allocations: 86.55 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.6161, allocations: 40.94 kB / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.6161, allocations: 0 / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6161, allocations: 34.56 kB / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.6161, allocations: 0 / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.6166, allocations: 145.5 kB / 1.457 GB, free: 10.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6166, allocations: 51.41 kB / 1.457 GB, free: 10.15 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.6168, allocations: 153.2 kB / 1.458 GB, free: 9.992 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.6168, allocations: 25.7 kB / 1.458 GB, free: 9.961 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.6169, allocations: 123.9 kB / 1.458 GB, free: 9.836 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.6169, allocations: 23.8 kB / 1.458 GB, free: 9.812 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.617, allocations: 21.7 kB / 1.458 GB, free: 9.785 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6171, allocations: 322.8 kB / 1.458 GB, free: 9.461 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6173, allocations: 31.97 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.6174, allocations: 35.95 kB / 1.458 GB, free: 9.395 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.6176, allocations: 80.77 kB / 1.458 GB, free: 9.312 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6176, allocations: 0 / 1.458 GB, free: 9.312 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002823/0.6179, allocations: 121.5 kB / 1.458 GB, free: 9.188 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6179, allocations: 8 kB / 1.458 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6179, allocations: 0 / 1.458 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6179, allocations: 3.984 kB / 1.458 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.6181, allocations: 12 kB / 1.458 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6181, allocations: 4.531 kB / 1.458 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.6182, allocations: 15.95 kB / 1.458 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.6182, allocations: 0 / 1.458 GB, free: 9.145 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.0001293/0.6183, allocations: 126.3 kB / 1.459 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.6183, allocations: 11.94 kB / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.6187, allocations: 122.3 kB / 1.459 GB, free: 8.871 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6187, allocations: 4 kB / 1.459 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6187, allocations: 0 / 1.459 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6187, allocations: 0 / 1.459 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.6189, allocations: 161.1 kB / 1.459 GB, free: 8.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6189, allocations: 0 / 1.459 GB, free: 8.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.619, allocations: 19.98 kB / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.619, allocations: 0 / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.619, allocations: 0 / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.619, allocations: 0 / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.619, allocations: 0 / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.6194, allocations: 215.3 kB / 1.459 GB, free: 8.434 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.6194, allocations: 7.953 kB / 1.459 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.6194, allocations: 8 kB / 1.459 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6195, allocations: 7.984 kB / 1.459 GB, free: 8.41 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6196, allocations: 7.984 kB / 1.459 GB, free: 8.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.6196, allocations: 0 / 1.459 GB, free: 8.402 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.989e-05/0.6197, allocations: 113.1 kB / 1.459 GB, free: 8.293 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6197, allocations: 0 / 1.459 GB, free: 8.293 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002586/0.6199, allocations: 31.89 kB / 1.459 GB, free: 8.262 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.0001793/0.6201, allocations: 107.2 kB / 1.459 GB, free: 8.148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.6204, allocations: 75.88 kB / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6204, allocations: 0 / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.6205, allocations: 39.91 kB / 1.459 GB, free: 8.035 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.6209, allocations: 43.86 kB / 1.459 GB, free: 7.992 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.6215, allocations: 257 kB / 1.46 GB, free: 7.715 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.6216, allocations: 90.28 kB / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.6217, allocations: 16.41 kB / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.6217, allocations: 15.44 kB / 1.46 GB, free: 7.574 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/0.6217, allocations: 0 / 1.46 GB, free: 7.574 MB / 1.154 GB Notification: Performance of Templates: time 0.004954/0.6267, allocations: 1.674 MB / 1.461 GB, free: 5.938 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 -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/jenkins/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.703139020130038]