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.002265/0.002265, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002273/0.002273, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.721/2.721, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.202e-06/1.202e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.491e-05, allocations: 8.25 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1943/0.1943, allocations: 131 MB / 1.079 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1963, allocations: 1.032 MB / 1.08 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.1965, allocations: 7.938 kB / 1.08 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1969, allocations: 55.61 kB / 1.08 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.198, allocations: 318.3 kB / 1.08 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.1986, allocations: 167.2 kB / 1.081 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.1992, allocations: 231.2 kB / 1.081 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1993, allocations: 42.52 kB / 1.081 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1995, allocations: 79.81 kB / 1.081 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1996, allocations: 43.88 kB / 1.081 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1996, allocations: 12 kB / 1.081 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.2002, allocations: 243.2 kB / 1.081 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.2003, allocations: 35.89 kB / 1.081 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.2003, allocations: 35.92 kB / 1.081 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.201, allocations: 291.1 kB / 1.081 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.201, allocations: 0 / 1.081 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.201, allocations: 0 / 1.081 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.201, allocations: 0 / 1.081 GB, free: 5.383 MB / 0.9825 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.0008696/0.2019, allocations: 407.1 kB / 1.082 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2019, allocations: 8.031 kB / 1.082 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.2025, allocations: 48.78 kB / 1.082 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.2029, allocations: 149.6 kB / 1.082 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2029, allocations: 8.375 kB / 1.082 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.2029, allocations: 12.38 kB / 1.082 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.2032, allocations: 125.4 kB / 1.082 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2032, allocations: 3.984 kB / 1.082 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2032, allocations: 4 kB / 1.082 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2033, allocations: 4 kB / 1.082 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2035, allocations: 91.94 kB / 1.082 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.2043, allocations: 348.1 kB / 1.083 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2045, allocations: 94.48 kB / 1.083 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2047, allocations: 44.88 kB / 1.083 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.2047, allocations: 3.938 kB / 1.083 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2047, allocations: 38.56 kB / 1.083 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2047, allocations: 0 / 1.083 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000489/0.2052, allocations: 133.6 kB / 1.083 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2053, allocations: 59.39 kB / 1.083 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.2054, allocations: 151.9 kB / 1.083 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.2055, allocations: 25.7 kB / 1.083 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.2056, allocations: 123.9 kB / 1.083 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2056, allocations: 19.8 kB / 1.083 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.2056, allocations: 21.72 kB / 1.083 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2058, allocations: 326.8 kB / 1.084 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2059, allocations: 31.97 kB / 1.084 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.206, allocations: 27.98 kB / 1.084 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2063, allocations: 81.27 kB / 1.084 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2063, allocations: 3.938 kB / 1.084 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003077/0.2066, allocations: 117.5 kB / 1.084 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2066, allocations: 8 kB / 1.084 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2066, allocations: 0 / 1.084 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2066, allocations: 0 / 1.084 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2068, allocations: 23.92 kB / 1.084 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2068, allocations: 4 kB / 1.084 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.2069, allocations: 11.98 kB / 1.084 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2069, allocations: 4 kB / 1.084 GB, free: 2.699 MB / 0.9825 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.0001238/0.207, allocations: 125.8 kB / 1.084 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.207, allocations: 7.953 kB / 1.084 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.2074, allocations: 122.3 kB / 1.084 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2074, allocations: 4 kB / 1.084 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2074, allocations: 0 / 1.084 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2074, allocations: 4 kB / 1.084 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.2076, allocations: 149.2 kB / 1.084 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2076, allocations: 7.875 kB / 1.084 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2077, allocations: 15.98 kB / 1.084 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2077, allocations: 0 / 1.084 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2078, allocations: 0 / 1.084 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2078, allocations: 7.875 kB / 1.084 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2078, allocations: 0 / 1.084 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.2081, allocations: 211.5 kB / 1.085 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.2082, allocations: 15.88 kB / 1.085 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2082, allocations: 0 / 1.085 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2083, allocations: 4 kB / 1.085 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.2083, allocations: 11.98 kB / 1.085 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.2083, allocations: 3.938 kB / 1.085 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000107/0.2085, allocations: 116.9 kB / 1.085 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.2085, allocations: 0 / 1.085 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002595/0.2087, allocations: 27.89 kB / 1.085 GB, free: 1.82 MB / 0.9825 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.000179/0.2089, allocations: 107.2 kB / 1.085 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.2092, allocations: 79.94 kB / 1.085 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2092, allocations: 0 / 1.085 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2093, allocations: 35.92 kB / 1.085 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.2097, allocations: 43.83 kB / 1.085 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.2104, allocations: 237.8 kB / 1.085 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2105, allocations: 94.22 kB / 1.085 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.2106, allocations: 12.48 kB / 1.085 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.2106, allocations: 16.5 kB / 1.085 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.2106, allocations: 0 / 1.085 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of Templates: time 0.005526/0.2162, allocations: 1.561 MB / 1.087 GB, free: 15.64 MB / 0.9981 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.17079396173358]