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.002786/0.002786, allocations: 81.48 kB / 19.44 MB, free: 340 kB / 13.93 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.003673/0.003673, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 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.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.435/3.435, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.887e-05, allocations: 2.875 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2314/0.2315, allocations: 144.5 MB / 1.019 GB, free: 5.543 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2336, allocations: 1.164 MB / 1.02 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2337, allocations: 3.938 kB / 1.02 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.2342, allocations: 47.75 kB / 1.02 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009584/0.2351, allocations: 322.3 kB / 1.02 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.2355, allocations: 171.2 kB / 1.02 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000527/0.2361, allocations: 231.3 kB / 1.021 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2362, allocations: 41.22 kB / 1.021 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2363, allocations: 79.8 kB / 1.021 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2364, allocations: 47.83 kB / 1.021 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.2365, allocations: 15.98 kB / 1.021 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.2369, allocations: 227.4 kB / 1.021 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.237, allocations: 35.89 kB / 1.021 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.2371, allocations: 43.84 kB / 1.021 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.2376, allocations: 279.1 kB / 1.021 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2376, allocations: 4 kB / 1.021 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2376, allocations: 4 kB / 1.021 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2376, allocations: 0 / 1.021 GB, free: 2.848 MB / 0.9792 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.0008897/0.2385, allocations: 0.4993 MB / 1.022 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2385, allocations: 8.031 kB / 1.022 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.2391, allocations: 64.67 kB / 1.022 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2394, allocations: 154.4 kB / 1.022 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2394, allocations: 12 kB / 1.022 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2394, allocations: 15.94 kB / 1.022 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.2397, allocations: 106.7 kB / 1.022 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2397, allocations: 0 / 1.022 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.2397, allocations: 4 kB / 1.022 GB, free: 1.926 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2397, allocations: 4 kB / 1.022 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.24, allocations: 83.95 kB / 1.022 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.2409, allocations: 447.7 kB / 1.023 GB, free: 1.367 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2411, allocations: 91.05 kB / 1.023 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2412, allocations: 39.78 kB / 1.023 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.2413, allocations: 4 kB / 1.023 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.2413, allocations: 41.38 kB / 1.023 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2413, allocations: 0 / 1.023 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0004443/0.2417, allocations: 125.6 kB / 1.023 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.2418, allocations: 51.41 kB / 1.023 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.242, allocations: 220 kB / 1.023 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.2421, allocations: 33.7 kB / 1.023 GB, free: 0.707 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2422, allocations: 170.6 kB / 1.023 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.2422, allocations: 31.77 kB / 1.023 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.2423, allocations: 27.38 kB / 1.023 GB, free: 480 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003064/0.2426, allocations: 0.5 MB / 1.024 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.2427, allocations: 27.98 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.2428, allocations: 27.98 kB / 1.024 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.243, allocations: 67.61 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.243, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002503/0.2432, allocations: 117.6 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2432, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2432, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2433, allocations: 4 kB / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2434, allocations: 15.98 kB / 1.024 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2434, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.2435, allocations: 12 kB / 1.024 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2435, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.9948 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.0001563/0.2436, allocations: 168.5 kB / 1.024 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.2437, allocations: 23.89 kB / 1.024 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.244, allocations: 111 kB / 1.024 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.244, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.244, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.244, allocations: 3.984 kB / 1.024 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2443, allocations: 180.4 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2443, allocations: 0 / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.2444, allocations: 15.98 kB / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2444, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2444, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2444, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2444, allocations: 3.938 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.2447, allocations: 259.9 kB / 1.025 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.2448, allocations: 11.94 kB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2448, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.2449, allocations: 8 kB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.2449, allocations: 3.984 kB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2449, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001401/0.2451, allocations: 156.3 kB / 1.025 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2451, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000247/0.2453, allocations: 35.83 kB / 1.025 GB, free: 14.64 MB / 0.9948 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.0003575/0.2457, allocations: 114 kB / 1.025 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.2459, allocations: 71.66 kB / 1.025 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2459, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2461, allocations: 43.61 kB / 1.025 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2465, allocations: 46.19 kB / 1.025 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.2471, allocations: 246.6 kB / 1.026 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2472, allocations: 98.27 kB / 1.026 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.89e-05/0.2473, allocations: 8.484 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.2473, allocations: 16.5 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of SimCode: time 4.71e-07/0.2473, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of Templates: time 0.00553/0.2529, allocations: 1.562 MB / 1.027 GB, free: 12.41 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.349426221917383]