Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 113.8 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 190 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.88 kB / 1.059 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7646/1.056, allocations: 149.5 MB / 1.362 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001817/1.058, allocations: 1.143 MB / 1.363 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/1.058, allocations: 1.031 kB / 1.363 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004135/1.058, allocations: 59.98 kB / 1.363 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/1.06, allocations: 315.7 kB / 1.364 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/1.06, allocations: 167.5 kB / 1.364 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007076/1.061, allocations: 222.7 kB / 1.364 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/1.061, allocations: 43.94 kB / 1.364 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.061, allocations: 49.3 kB / 1.364 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/1.062, allocations: 65.17 kB / 1.364 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/1.062, allocations: 14.84 kB / 1.364 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/1.062, allocations: 378.2 kB / 1.364 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/1.063, allocations: 31.22 kB / 1.365 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/1.063, allocations: 64.91 kB / 1.365 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006983/1.063, allocations: 302.5 kB / 1.365 GB, free: 5.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.063, allocations: 0.5625 kB / 1.365 GB, free: 5.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/1.063, allocations: 0 / 1.365 GB, free: 5.516 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.063, allocations: 1.156 kB / 1.365 GB, free: 5.516 MB / 1.045 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.0009493/1.064, allocations: 474.8 kB / 1.365 GB, free: 5.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.064, allocations: 9.625 kB / 1.365 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/1.065, allocations: 35.5 kB / 1.365 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/1.065, allocations: 211.8 kB / 1.366 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.065, allocations: 16.12 kB / 1.366 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/1.065, allocations: 11.53 kB / 1.366 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/1.066, allocations: 122.6 kB / 1.366 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.066, allocations: 0 / 1.366 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.066, allocations: 1.906 kB / 1.366 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.066, allocations: 3.688 kB / 1.366 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/1.066, allocations: 93.59 kB / 1.366 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/1.067, allocations: 457.9 kB / 1.366 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/1.067, allocations: 89.19 kB / 1.366 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/1.067, allocations: 39.89 kB / 1.366 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.067, allocations: 1.344 kB / 1.366 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.067, allocations: 32.03 kB / 1.366 GB, free: 4.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.067, allocations: 4 kB / 1.366 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004995/1.068, allocations: 148.6 kB / 1.367 GB, free: 4.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.068, allocations: 58.11 kB / 1.367 GB, free: 4.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.068, allocations: 182.8 kB / 1.367 GB, free: 3.988 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.068, allocations: 25.7 kB / 1.367 GB, free: 3.957 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/1.068, allocations: 113.3 kB / 1.367 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.068, allocations: 23.52 kB / 1.367 GB, free: 3.836 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/1.068, allocations: 25.34 kB / 1.367 GB, free: 3.812 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.068, allocations: 329.2 kB / 1.367 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/1.068, allocations: 32.67 kB / 1.367 GB, free: 3.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/1.068, allocations: 29.61 kB / 1.367 GB, free: 3.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.069, allocations: 74.69 kB / 1.367 GB, free: 3.445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.069, allocations: 5.5 kB / 1.367 GB, free: 3.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002875/1.069, allocations: 126.1 kB / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.069, allocations: 5.719 kB / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.069, allocations: 0 / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.069, allocations: 1.5 kB / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.069, allocations: 17.7 kB / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.069, allocations: 0 / 1.368 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/1.069, allocations: 16.33 kB / 1.368 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1.069, allocations: 5.312 kB / 1.368 GB, free: 3.359 MB / 1.045 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.0001169/1.069, allocations: 123.8 kB / 1.368 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/1.069, allocations: 12.2 kB / 1.368 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/1.07, allocations: 127 kB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/1.07, allocations: 1.719 kB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.07, allocations: 1 kB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.07, allocations: 2.812 kB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/1.07, allocations: 224.9 kB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.07, allocations: 2.031 kB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.07, allocations: 16.28 kB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.07, allocations: 1.344 kB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.07, allocations: 0 / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.07, allocations: 1.438 kB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.07, allocations: 0 / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/1.071, allocations: 217.3 kB / 1.368 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/1.071, allocations: 90.81 kB / 1.368 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/1.071, allocations: 9.391 kB / 1.368 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/1.071, allocations: 11.41 kB / 1.368 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/1.071, allocations: 6.125 kB / 1.368 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/1.071, allocations: 3.656 kB / 1.368 GB, free: 2.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001318/1.071, allocations: 133.8 kB / 1.369 GB, free: 2.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.071, allocations: 0 / 1.369 GB, free: 2.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002684/1.071, allocations: 22.34 kB / 1.369 GB, free: 2.559 MB / 1.045 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.0001952/1.071, allocations: 111.6 kB / 1.369 GB, free: 2.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002952/1.072, allocations: 79.34 kB / 1.369 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.072, allocations: 0 / 1.369 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/1.072, allocations: 38.5 kB / 1.369 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/1.072, allocations: 30.77 kB / 1.369 GB, free: 2.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/1.073, allocations: 271.5 kB / 1.369 GB, free: 2.234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.073, allocations: 0.714 MB / 1.37 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.615e-05/1.073, allocations: 8.391 kB / 1.37 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/1.073, allocations: 18.31 kB / 1.37 GB, free: 1.52 MB / 1.045 GB Notification: Performance of SimCode: time 8.41e-07/1.073, allocations: 0 / 1.37 GB, free: 1.52 MB / 1.045 GB Notification: Performance of Templates: time 0.005234/1.079, allocations: 1.618 MB / 1.371 GB, free: 1.391 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.875666353851557]