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.001398/0.001398, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001727/0.001727, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.151/3.151, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.003005/0.003005, allocations: 67.22 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3548, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.179/0.5339, allocations: 131 MB / 1.454 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.5356, allocations: 1.047 MB / 1.455 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.5358, allocations: 0 / 1.455 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.5362, allocations: 55.62 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.5372, allocations: 310.7 kB / 1.456 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.5376, allocations: 167.3 kB / 1.456 GB, free: 12.74 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.5382, allocations: 223.3 kB / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.5383, allocations: 45.77 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.5384, allocations: 55.73 kB / 1.456 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.5385, allocations: 51.75 kB / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.5386, allocations: 12 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.539, allocations: 235.5 kB / 1.456 GB, free: 12.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.5391, allocations: 31.8 kB / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.5392, allocations: 47.8 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.5397, allocations: 279 kB / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5397, allocations: 4 kB / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5397, allocations: 0 / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5397, allocations: 0 / 1.457 GB, free: 11.78 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.0007576/0.5405, allocations: 401.3 kB / 1.457 GB, free: 11.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5405, allocations: 12.03 kB / 1.457 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.541, allocations: 48.8 kB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.5414, allocations: 154.2 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5414, allocations: 11.94 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5414, allocations: 11.94 kB / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.5417, allocations: 117.6 kB / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5417, allocations: 0 / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5417, allocations: 0 / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.5417, allocations: 4 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.5421, allocations: 99.88 kB / 1.458 GB, free: 10.88 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.5428, allocations: 359.9 kB / 1.458 GB, free: 10.49 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.543, allocations: 90.48 kB / 1.458 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5432, allocations: 40.94 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.5432, allocations: 0 / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.5432, allocations: 34.56 kB / 1.458 GB, free: 10.31 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.5432, allocations: 0 / 1.458 GB, free: 10.31 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004811/0.5437, allocations: 145.5 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5437, allocations: 55.41 kB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.5439, allocations: 147.7 kB / 1.458 GB, free: 9.941 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.5439, allocations: 25.7 kB / 1.458 GB, free: 9.91 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.544, allocations: 123.9 kB / 1.459 GB, free: 9.785 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.5441, allocations: 19.8 kB / 1.459 GB, free: 9.766 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.5441, allocations: 21.72 kB / 1.459 GB, free: 9.738 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5443, allocations: 326.8 kB / 1.459 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.5444, allocations: 35.97 kB / 1.459 GB, free: 9.375 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5445, allocations: 27.98 kB / 1.459 GB, free: 9.348 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.5448, allocations: 76.81 kB / 1.459 GB, free: 9.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5448, allocations: 0 / 1.459 GB, free: 9.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003036/0.5451, allocations: 117.5 kB / 1.459 GB, free: 9.148 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5451, allocations: 4 kB / 1.459 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5451, allocations: 8 kB / 1.459 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5451, allocations: 4 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5453, allocations: 15.98 kB / 1.459 GB, free: 9.117 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5453, allocations: 0 / 1.459 GB, free: 9.117 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.5454, allocations: 11.94 kB / 1.459 GB, free: 9.105 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5454, allocations: 4 kB / 1.459 GB, free: 9.102 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.0001974/0.5456, allocations: 126.2 kB / 1.459 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.5456, allocations: 11.95 kB / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.546, allocations: 130.8 kB / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.546, allocations: 0 / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.546, allocations: 4 kB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.546, allocations: 0 / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.5462, allocations: 153.1 kB / 1.46 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5462, allocations: 0 / 1.46 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.5463, allocations: 19.98 kB / 1.46 GB, free: 8.617 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5463, allocations: 0 / 1.46 GB, free: 8.617 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5464, allocations: 7.938 kB / 1.46 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5464, allocations: 0 / 1.46 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5464, allocations: 4 kB / 1.46 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.5467, allocations: 219.3 kB / 1.46 GB, free: 8.375 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.5467, allocations: 7.953 kB / 1.46 GB, free: 8.367 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.5468, allocations: 4 kB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5469, allocations: 7.984 kB / 1.46 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5469, allocations: 0 / 1.46 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.5469, allocations: 4 kB / 1.46 GB, free: 8.352 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001059/0.547, allocations: 116.9 kB / 1.46 GB, free: 8.238 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.547, allocations: 4 kB / 1.46 GB, free: 8.234 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002626/0.5473, allocations: 31.89 kB / 1.46 GB, free: 8.203 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.0001835/0.5475, allocations: 99.23 kB / 1.46 GB, free: 8.098 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.5478, allocations: 75.89 kB / 1.46 GB, free: 8.023 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5478, allocations: 0 / 1.46 GB, free: 8.023 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.5479, allocations: 39.97 kB / 1.46 GB, free: 7.984 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.5483, allocations: 37.3 kB / 1.46 GB, free: 7.949 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.5489, allocations: 282.8 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.549, allocations: 94.28 kB / 1.461 GB, free: 7.527 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.5491, allocations: 15.44 kB / 1.461 GB, free: 7.512 MB / 1.154 GB Notification: Performance of SimCode: time 3.71e-07/0.5491, allocations: 0 / 1.461 GB, free: 7.512 MB / 1.154 GB Notification: Performance of Templates: time 0.003887/0.553, allocations: 1.627 MB / 1.462 GB, free: 5.895 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.435013415757567]