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.0008328/0.0008328, 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.0008293/0.0008293, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8704/0.8704, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.697/1.697, allocations: 377.9 MB / 0.6229 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 4 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.256e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5341/0.5342, allocations: 131 MB / 1.11 GB, free: 24.43 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.5351, allocations: 1.042 MB / 1.111 GB, free: 23.74 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.5352, allocations: 2.219 kB / 1.111 GB, free: 23.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.5355, allocations: 53.12 kB / 1.111 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.536, allocations: 320.4 kB / 1.112 GB, free: 23.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.5362, allocations: 170.5 kB / 1.112 GB, free: 23.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.5366, allocations: 229.8 kB / 1.112 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5367, allocations: 44.2 kB / 1.112 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.067e-05/0.5368, allocations: 73.53 kB / 1.112 GB, free: 23.31 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.5368, allocations: 47.19 kB / 1.112 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.5368, allocations: 12.28 kB / 1.112 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.5371, allocations: 246.7 kB / 1.112 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.5372, allocations: 30.2 kB / 1.112 GB, free: 23.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.5372, allocations: 37.83 kB / 1.112 GB, free: 23.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.5375, allocations: 288.6 kB / 1.113 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5375, allocations: 4 kB / 1.113 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5375, allocations: 0 / 1.113 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5375, allocations: 0.9375 kB / 1.113 GB, free: 23.07 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.0004438/0.538, allocations: 394.4 kB / 1.113 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.538, allocations: 10.59 kB / 1.113 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5383, allocations: 49.73 kB / 1.113 GB, free: 22.72 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.5385, allocations: 155.2 kB / 1.113 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5385, allocations: 12.44 kB / 1.113 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.5385, allocations: 11.22 kB / 1.113 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.5387, allocations: 122.2 kB / 1.113 GB, free: 22.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5387, allocations: 1.281 kB / 1.113 GB, free: 22.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5387, allocations: 5.734 kB / 1.113 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5387, allocations: 2.688 kB / 1.113 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.5389, allocations: 95.38 kB / 1.114 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.5393, allocations: 352.6 kB / 1.114 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.5394, allocations: 89.61 kB / 1.114 GB, free: 22.13 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.5395, allocations: 39.56 kB / 1.114 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5395, allocations: 1.188 kB / 1.114 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.5395, allocations: 40.98 kB / 1.114 GB, free: 22.06 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.5395, allocations: 0 / 1.114 GB, free: 22.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0002697/0.5398, allocations: 139.6 kB / 1.114 GB, free: 22 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.5398, allocations: 56.92 kB / 1.114 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.5399, allocations: 149.3 kB / 1.114 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.5399, allocations: 25.7 kB / 1.114 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.5399, allocations: 120.3 kB / 1.115 GB, free: 21.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.54, allocations: 24.45 kB / 1.115 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.54, allocations: 20.89 kB / 1.115 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.959e-05/0.54, allocations: 321.2 kB / 1.115 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.5401, allocations: 34.47 kB / 1.115 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.5401, allocations: 34.45 kB / 1.115 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.5402, allocations: 80.83 kB / 1.115 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5402, allocations: 0 / 1.115 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.5404, allocations: 121 kB / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5404, allocations: 9.156 kB / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5404, allocations: 1.906 kB / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5404, allocations: 0.5156 kB / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.5405, allocations: 18.59 kB / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5405, allocations: 0 / 1.115 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.5405, allocations: 10.91 kB / 1.115 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.5405, allocations: 6 kB / 1.115 GB, free: 21.19 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 4.4e-05/0.5406, allocations: 121 kB / 1.115 GB, free: 21.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.5406, allocations: 13.67 kB / 1.115 GB, free: 21.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5408, allocations: 129.8 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5408, allocations: 0 / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5408, allocations: 2.266 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5408, allocations: 0 / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.5409, allocations: 148.2 kB / 1.116 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5409, allocations: 0 / 1.116 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.5409, allocations: 25.38 kB / 1.116 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.541, allocations: 0 / 1.116 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.541, allocations: 9.953 kB / 1.116 GB, free: 20.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.541, allocations: 4 kB / 1.116 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.541, allocations: 0.9375 kB / 1.116 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.5411, allocations: 204.7 kB / 1.116 GB, free: 20.67 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.5411, allocations: 11.34 kB / 1.116 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5411, allocations: 1.844 kB / 1.116 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.5412, allocations: 9.891 kB / 1.116 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.5412, allocations: 6.062 kB / 1.116 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.5412, allocations: 4.844 kB / 1.116 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.5413, allocations: 115.4 kB / 1.116 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5413, allocations: 5.312 kB / 1.116 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001593/0.5414, allocations: 26.52 kB / 1.116 GB, free: 20.56 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.0001009/0.5415, allocations: 106.1 kB / 1.116 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.5417, allocations: 71.69 kB / 1.116 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5417, allocations: 0 / 1.116 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.5417, allocations: 46.5 kB / 1.116 GB, free: 20.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.542, allocations: 35.92 kB / 1.116 GB, free: 20.42 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.5424, allocations: 273.4 kB / 1.116 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.303e-05/0.5424, allocations: 96.3 kB / 1.117 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.5425, allocations: 13.38 kB / 1.117 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of SimCode: time 3.6e-07/0.5425, allocations: 1.094 kB / 1.117 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.002801/0.5453, allocations: 1.629 MB / 1.118 GB, free: 20 MB / 0.9948 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/jenkins/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: 6.852697446011007]