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.000876/0.000876, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008991/0.0008991, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8849/0.8849, allocations: 177.2 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.655/1.655, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.852e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5977/0.5977, allocations: 131.1 MB / 1.08 GB, free: 40.56 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.5989, allocations: 1.041 MB / 1.081 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.599, allocations: 2.656 kB / 1.081 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.5994, allocations: 53.12 kB / 1.081 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007508/0.6002, allocations: 321.7 kB / 1.081 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.6005, allocations: 168.7 kB / 1.081 GB, free: 40.4 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.601, allocations: 234.5 kB / 1.082 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.6011, allocations: 46.11 kB / 1.082 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.6012, allocations: 72.05 kB / 1.082 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.6013, allocations: 48.52 kB / 1.082 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.6013, allocations: 11.44 kB / 1.082 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.6017, allocations: 238.2 kB / 1.082 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.6018, allocations: 30.73 kB / 1.082 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.6018, allocations: 45.33 kB / 1.082 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.6022, allocations: 286.3 kB / 1.082 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.6022, allocations: 0 / 1.082 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6022, allocations: 4 kB / 1.082 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6022, allocations: 0 / 1.082 GB, free: 40.35 MB / 0.9948 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.000601/0.6028, allocations: 401.9 kB / 1.083 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6029, allocations: 8.938 kB / 1.083 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.6032, allocations: 45.09 kB / 1.083 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.6035, allocations: 156.4 kB / 1.083 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6035, allocations: 10.41 kB / 1.083 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.6035, allocations: 6.75 kB / 1.083 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.6037, allocations: 121 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6037, allocations: 4.172 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6038, allocations: 3.312 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6038, allocations: 2.406 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.6039, allocations: 88.48 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.6044, allocations: 361.4 kB / 1.083 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.6046, allocations: 88.77 kB / 1.083 GB, free: 39.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.6046, allocations: 34.81 kB / 1.084 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.6047, allocations: 3.562 kB / 1.084 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6047, allocations: 37.56 kB / 1.084 GB, free: 39.53 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.6047, allocations: 1.203 kB / 1.084 GB, free: 39.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0002974/0.605, allocations: 142.4 kB / 1.084 GB, free: 39.49 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.605, allocations: 55.34 kB / 1.084 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6051, allocations: 150.4 kB / 1.084 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.6051, allocations: 25.7 kB / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.6052, allocations: 121.3 kB / 1.084 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.6052, allocations: 30.92 kB / 1.084 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.6052, allocations: 19.2 kB / 1.084 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.6053, allocations: 320.3 kB / 1.084 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.6054, allocations: 37.95 kB / 1.084 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.6054, allocations: 27.28 kB / 1.084 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.6055, allocations: 82.97 kB / 1.085 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6055, allocations: 0 / 1.085 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001499/0.6057, allocations: 119.1 kB / 1.085 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6057, allocations: 9.234 kB / 1.085 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6057, allocations: 4 kB / 1.085 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6057, allocations: 0 / 1.085 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.6058, allocations: 17.58 kB / 1.085 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6058, allocations: 0 / 1.085 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.6059, allocations: 16.11 kB / 1.085 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6059, allocations: 2.906 kB / 1.085 GB, free: 38.79 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 6.652e-05/0.6059, allocations: 120.9 kB / 1.085 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.6059, allocations: 10.89 kB / 1.085 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.6062, allocations: 129.5 kB / 1.085 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6062, allocations: 3.281 kB / 1.085 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6062, allocations: 0 / 1.085 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6062, allocations: 0 / 1.085 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6063, allocations: 153.1 kB / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6063, allocations: 0 / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.6064, allocations: 18.62 kB / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6064, allocations: 0 / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6064, allocations: 7.672 kB / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6064, allocations: 3 kB / 1.085 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6064, allocations: 4 kB / 1.085 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.6065, allocations: 204.6 kB / 1.085 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.6066, allocations: 13.73 kB / 1.085 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6066, allocations: 0 / 1.085 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.6066, allocations: 9.047 kB / 1.085 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.6067, allocations: 9.672 kB / 1.085 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.6067, allocations: 0 / 1.085 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.6067, allocations: 112.2 kB / 1.085 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6067, allocations: 0 / 1.085 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001733/0.6069, allocations: 35.95 kB / 1.085 GB, free: 38.26 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.0001652/0.6071, allocations: 106 kB / 1.086 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6073, allocations: 76.06 kB / 1.086 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6073, allocations: 3.094 kB / 1.086 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.6073, allocations: 43.45 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.6076, allocations: 31.78 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.6082, allocations: 268.3 kB / 1.086 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.6082, allocations: 99.5 kB / 1.086 GB, free: 37.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.6083, allocations: 18.11 kB / 1.086 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.6083, allocations: 0 / 1.086 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of Templates: time 0.002733/0.611, allocations: 1.631 MB / 1.088 GB, free: 37.78 MB / 0.9948 GB " [Timeout remaining time 299] 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: 7.150614410638809]