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.001491/0.001491, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001731/0.001731, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.86/2.86, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.674e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2337/0.2337, allocations: 131 MB / 0.9144 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2358, allocations: 1.047 MB / 0.9154 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2359, allocations: 0 / 0.9154 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.2363, allocations: 47.69 kB / 0.9155 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2373, allocations: 326.3 kB / 0.9158 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2378, allocations: 167.2 kB / 0.9159 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.2384, allocations: 239.2 kB / 0.9162 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2386, allocations: 41.22 kB / 0.9162 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2387, allocations: 79.8 kB / 0.9163 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2388, allocations: 47.81 kB / 0.9163 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.2388, allocations: 12 kB / 0.9163 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.2393, allocations: 235.4 kB / 0.9166 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.2394, allocations: 31.89 kB / 0.9166 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.2395, allocations: 35.92 kB / 0.9166 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.2402, allocations: 287.1 kB / 0.9169 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2402, allocations: 4 kB / 0.9169 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2403, allocations: 4 kB / 0.9169 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2403, allocations: 0 / 0.9169 GB, free: 6.699 MB / 0.8698 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.000856/0.2411, allocations: 393.3 kB / 0.9173 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.2412, allocations: 12.03 kB / 0.9173 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.2418, allocations: 64.66 kB / 0.9173 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.2422, allocations: 159.6 kB / 0.9175 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2422, allocations: 4.375 kB / 0.9175 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.2423, allocations: 12.38 kB / 0.9175 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.2426, allocations: 123.7 kB / 0.9176 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2426, allocations: 0 / 0.9176 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2426, allocations: 8 kB / 0.9176 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.2427, allocations: 3.938 kB / 0.9176 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.243, allocations: 91.88 kB / 0.9177 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.2438, allocations: 372 kB / 0.9181 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2441, allocations: 86.55 kB / 0.9182 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2442, allocations: 36.94 kB / 0.9182 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.2442, allocations: 11.88 kB / 0.9182 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.2443, allocations: 30.56 kB / 0.9182 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2443, allocations: 0 / 0.9182 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0005547/0.2448, allocations: 141.6 kB / 0.9184 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2449, allocations: 55.39 kB / 0.9184 GB, free: 5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2451, allocations: 147.5 kB / 0.9186 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.2452, allocations: 29.7 kB / 0.9186 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2453, allocations: 119.9 kB / 0.9187 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.2454, allocations: 19.8 kB / 0.9187 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.2454, allocations: 25.72 kB / 0.9188 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002455/0.2457, allocations: 318.8 kB / 0.9191 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2458, allocations: 43.97 kB / 0.9191 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.2459, allocations: 31.92 kB / 0.9191 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.2462, allocations: 81.25 kB / 0.9192 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2462, allocations: 3.938 kB / 0.9192 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002938/0.2465, allocations: 113.6 kB / 0.9193 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.2465, allocations: 10.03 kB / 0.9193 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2465, allocations: 4 kB / 0.9193 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.2465, allocations: 0 / 0.9193 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2467, allocations: 19.92 kB / 0.9194 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2467, allocations: 0 / 0.9194 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.2468, allocations: 15.94 kB / 0.9194 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2468, allocations: 0 / 0.9194 GB, free: 3.996 MB / 0.8698 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.0001462/0.2469, allocations: 125.8 kB / 0.9195 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.247, allocations: 7.953 kB / 0.9195 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.2474, allocations: 126.4 kB / 0.9196 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2474, allocations: 0 / 0.9196 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2474, allocations: 0 / 0.9196 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2474, allocations: 0 / 0.9196 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.2476, allocations: 157.1 kB / 0.9198 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2476, allocations: 3.938 kB / 0.9198 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.2477, allocations: 19.92 kB / 0.9198 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2477, allocations: 0 / 0.9198 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2478, allocations: 8 kB / 0.9198 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2478, allocations: 0 / 0.9198 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2478, allocations: 4 kB / 0.9198 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.2482, allocations: 203.5 kB / 0.92 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.2482, allocations: 15.84 kB / 0.92 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2482, allocations: 4 kB / 0.92 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2483, allocations: 7.984 kB / 0.92 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.2484, allocations: 0 / 0.92 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2484, allocations: 8 kB / 0.92 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001248/0.2485, allocations: 121.1 kB / 0.9201 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.2485, allocations: 0 / 0.9201 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002554/0.2488, allocations: 28 kB / 0.9202 GB, free: 3.109 MB / 0.8698 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.0002398/0.249, allocations: 99.25 kB / 0.9203 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.2493, allocations: 75.92 kB / 0.9203 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2493, allocations: 0 / 0.9203 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2495, allocations: 39.92 kB / 0.9204 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2499, allocations: 39.84 kB / 0.9204 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.2505, allocations: 247.8 kB / 0.9207 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2506, allocations: 94.28 kB / 0.9207 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.747e-05/0.2507, allocations: 12.47 kB / 0.9208 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.2508, allocations: 16.5 kB / 0.9208 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.2508, allocations: 0 / 0.9208 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of Templates: time 0.005511/0.2563, allocations: 1.558 MB / 0.9223 GB, free: 0.9336 MB / 0.8698 GB " [Timeout remaining time 300] 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 -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/jenkins/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.810270281974226]