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.001715/0.001715, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002187/0.002187, allocations: 204 kB / 20.09 MB, free: 2.977 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.887/2.887, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.00202/0.00202, allocations: 67.91 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 176.1 MB / 1.322 GB, free: 25.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2/1.229, allocations: 152.3 MB / 1.471 GB, free: 9.914 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001673/1.231, allocations: 1.154 MB / 1.472 GB, free: 8.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/1.231, allocations: 2.281 kB / 1.472 GB, free: 8.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003783/1.231, allocations: 56.69 kB / 1.472 GB, free: 8.938 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007958/1.232, allocations: 315.2 kB / 1.472 GB, free: 8.707 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/1.232, allocations: 172.2 kB / 1.472 GB, free: 8.59 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/1.233, allocations: 224.2 kB / 1.473 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/1.233, allocations: 45.12 kB / 1.473 GB, free: 8.434 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/1.233, allocations: 48.95 kB / 1.473 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/1.233, allocations: 65.59 kB / 1.473 GB, free: 8.359 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/1.233, allocations: 14.47 kB / 1.473 GB, free: 8.355 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/1.234, allocations: 389.6 kB / 1.473 GB, free: 8.133 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/1.234, allocations: 29.3 kB / 1.473 GB, free: 8.109 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/1.234, allocations: 65.16 kB / 1.473 GB, free: 8.062 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/1.234, allocations: 298.2 kB / 1.473 GB, free: 7.879 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.234, allocations: 1.531 kB / 1.473 GB, free: 7.879 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.473e-06/1.234, allocations: 3.938 kB / 1.473 GB, free: 7.875 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.663e-06/1.234, allocations: 0 / 1.473 GB, free: 7.875 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.000755/1.235, allocations: 481.4 kB / 1.474 GB, free: 7.41 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.235, allocations: 17.28 kB / 1.474 GB, free: 7.402 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/1.236, allocations: 46.02 kB / 1.474 GB, free: 7.383 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/1.236, allocations: 215.9 kB / 1.474 GB, free: 7.148 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.236, allocations: 8.625 kB / 1.474 GB, free: 7.145 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.236, allocations: 9.969 kB / 1.474 GB, free: 7.141 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/1.236, allocations: 119.6 kB / 1.474 GB, free: 7.059 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/1.236, allocations: 0 / 1.474 GB, free: 7.059 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/1.236, allocations: 5.344 kB / 1.474 GB, free: 7.055 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/1.236, allocations: 6.312 kB / 1.474 GB, free: 7.051 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/1.237, allocations: 88.12 kB / 1.474 GB, free: 7.012 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/1.237, allocations: 467.5 kB / 1.475 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/1.238, allocations: 84.2 kB / 1.475 GB, free: 6.523 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/1.238, allocations: 37.66 kB / 1.475 GB, free: 6.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.238, allocations: 1.188 kB / 1.475 GB, free: 6.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.238, allocations: 35.66 kB / 1.475 GB, free: 6.457 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/1.238, allocations: 4 kB / 1.475 GB, free: 6.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004704/1.238, allocations: 142.5 kB / 1.475 GB, free: 6.367 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.238, allocations: 52.5 kB / 1.475 GB, free: 6.305 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/1.238, allocations: 178.3 kB / 1.475 GB, free: 6.168 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.238, allocations: 30.75 kB / 1.475 GB, free: 6.133 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.239, allocations: 117.4 kB / 1.476 GB, free: 6.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/1.239, allocations: 27.14 kB / 1.476 GB, free: 5.996 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/1.239, allocations: 23.23 kB / 1.476 GB, free: 5.973 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.239, allocations: 326.3 kB / 1.476 GB, free: 5.648 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.239, allocations: 27.83 kB / 1.476 GB, free: 5.637 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.239, allocations: 33.72 kB / 1.476 GB, free: 5.621 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.239, allocations: 73.08 kB / 1.476 GB, free: 5.582 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.239, allocations: 4 kB / 1.476 GB, free: 5.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002895/1.24, allocations: 122.7 kB / 1.476 GB, free: 5.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.24, allocations: 9.234 kB / 1.476 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.24, allocations: 0 / 1.476 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.24, allocations: 1.344 kB / 1.476 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.24, allocations: 16.39 kB / 1.476 GB, free: 5.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.24, allocations: 1.375 kB / 1.476 GB, free: 5.492 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.552e-05/1.24, allocations: 13.45 kB / 1.476 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/1.24, allocations: 5.625 kB / 1.476 GB, free: 5.48 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.0001164/1.24, allocations: 128.4 kB / 1.476 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.24, allocations: 10.23 kB / 1.476 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/1.24, allocations: 117.8 kB / 1.476 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.24, allocations: 5.125 kB / 1.476 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.24, allocations: 0 / 1.476 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.24, allocations: 5.109 kB / 1.476 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/1.241, allocations: 243.3 kB / 1.477 GB, free: 5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.241, allocations: 0 / 1.477 GB, free: 5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/1.241, allocations: 15.95 kB / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.241, allocations: 1.094 kB / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/1.241, allocations: 0 / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.241, allocations: 1.438 kB / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.241, allocations: 0 / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/1.241, allocations: 218.6 kB / 1.477 GB, free: 4.812 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/1.241, allocations: 95.97 kB / 1.477 GB, free: 4.703 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/1.241, allocations: 1.156 kB / 1.477 GB, free: 4.703 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.241, allocations: 7.188 kB / 1.477 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.241, allocations: 11.58 kB / 1.477 GB, free: 4.691 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.241, allocations: 1.188 kB / 1.477 GB, free: 4.691 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001309/1.241, allocations: 139.3 kB / 1.477 GB, free: 4.586 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.241, allocations: 0 / 1.477 GB, free: 4.586 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002466/1.242, allocations: 26.59 kB / 1.477 GB, free: 4.578 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.0001901/1.242, allocations: 104.2 kB / 1.477 GB, free: 4.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002962/1.242, allocations: 76.92 kB / 1.477 GB, free: 4.449 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.242, allocations: 1.531 kB / 1.477 GB, free: 4.449 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.242, allocations: 40.97 kB / 1.477 GB, free: 4.43 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/1.243, allocations: 32.61 kB / 1.477 GB, free: 4.414 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/1.243, allocations: 291.6 kB / 1.478 GB, free: 4.18 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.244, allocations: 0.7107 MB / 1.478 GB, free: 3.465 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/1.244, allocations: 17.53 kB / 1.478 GB, free: 3.453 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/1.244, allocations: 0 / 1.478 GB, free: 3.453 MB / 1.154 GB Notification: Performance of Templates: time 0.003787/1.248, allocations: 1.656 MB / 1.48 GB, free: 2.605 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/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: 11.761524547007866]