Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001397/0.001397, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001621/0.001621, allocations: 169.6 kB / 22.46 MB, free: 5.355 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.921/2.921, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 1 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.176e-05, allocations: 5.234 kB / 1 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8544/0.8544, allocations: 131 MB / 1.128 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.8559, allocations: 1.041 MB / 1.129 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.856, allocations: 6.281 kB / 1.129 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.8563, allocations: 52.38 kB / 1.129 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.8571, allocations: 315 kB / 1.13 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.8575, allocations: 176 kB / 1.13 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.858, allocations: 228.8 kB / 1.13 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.8581, allocations: 39.83 kB / 1.13 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.8582, allocations: 76.72 kB / 1.13 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.8583, allocations: 45.81 kB / 1.13 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.8583, allocations: 10.81 kB / 1.13 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.8588, allocations: 242.9 kB / 1.13 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.8588, allocations: 34.66 kB / 1.13 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.8589, allocations: 41.69 kB / 1.13 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.8594, allocations: 286.6 kB / 1.131 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8594, allocations: 0 / 1.131 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8594, allocations: 0.8125 kB / 1.131 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8594, allocations: 0 / 1.131 GB, free: 12.29 MB / 0.9981 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.0006077/0.86, allocations: 395.2 kB / 1.131 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.86, allocations: 9.031 kB / 1.131 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.8605, allocations: 50.66 kB / 1.131 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.8608, allocations: 159.2 kB / 1.131 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8608, allocations: 13 kB / 1.131 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.8608, allocations: 9.406 kB / 1.131 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.8611, allocations: 116.7 kB / 1.131 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8611, allocations: 0 / 1.131 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.8611, allocations: 5.703 kB / 1.131 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8611, allocations: 7.25 kB / 1.131 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.8614, allocations: 95.42 kB / 1.131 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.862, allocations: 354.1 kB / 1.132 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.8622, allocations: 91.8 kB / 1.132 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8624, allocations: 37.52 kB / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.8624, allocations: 5.766 kB / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.8624, allocations: 33.59 kB / 1.132 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8624, allocations: 0 / 1.132 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.8629, allocations: 140.2 kB / 1.132 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.8629, allocations: 52.59 kB / 1.132 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.863, allocations: 150.2 kB / 1.132 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.863, allocations: 27.3 kB / 1.132 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.8631, allocations: 123.7 kB / 1.132 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.8631, allocations: 32.8 kB / 1.132 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.8631, allocations: 19.38 kB / 1.132 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.8632, allocations: 323.6 kB / 1.133 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.8633, allocations: 33.86 kB / 1.133 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.8634, allocations: 29.98 kB / 1.133 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.8636, allocations: 75.64 kB / 1.133 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8636, allocations: 1.094 kB / 1.133 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002692/0.8639, allocations: 120.5 kB / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8639, allocations: 5.328 kB / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8639, allocations: 1.281 kB / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8639, allocations: 0.875 kB / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8641, allocations: 21.7 kB / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8641, allocations: 0 / 1.133 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.241e-05/0.8642, allocations: 11.2 kB / 1.133 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.8642, allocations: 3 kB / 1.133 GB, free: 10.72 MB / 0.9981 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.985e-05/0.8642, allocations: 131.4 kB / 1.133 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.8643, allocations: 9.422 kB / 1.133 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.8646, allocations: 127.9 kB / 1.133 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8646, allocations: 0 / 1.133 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8646, allocations: 2.812 kB / 1.133 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8646, allocations: 0.7031 kB / 1.133 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.8648, allocations: 156.4 kB / 1.133 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8648, allocations: 0 / 1.133 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.8649, allocations: 20.62 kB / 1.134 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8649, allocations: 0 / 1.134 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.8649, allocations: 2.328 kB / 1.134 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8649, allocations: 0.6094 kB / 1.134 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8649, allocations: 1.062 kB / 1.134 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.8652, allocations: 209.1 kB / 1.134 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.8652, allocations: 12.12 kB / 1.134 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.8653, allocations: 4.484 kB / 1.134 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.8654, allocations: 5.281 kB / 1.134 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.8654, allocations: 12.94 kB / 1.134 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8654, allocations: 2.438 kB / 1.134 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.8655, allocations: 114.6 kB / 1.134 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8655, allocations: 0 / 1.134 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002542/0.8658, allocations: 32.19 kB / 1.134 GB, free: 10.2 MB / 0.9981 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.0001334/0.8659, allocations: 101.3 kB / 1.134 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.8662, allocations: 88.31 kB / 1.134 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8662, allocations: 1.438 kB / 1.134 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.8663, allocations: 38.5 kB / 1.134 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.8667, allocations: 33.91 kB / 1.134 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.8672, allocations: 241.2 kB / 1.134 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.8673, allocations: 95.56 kB / 1.134 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.144e-05/0.8674, allocations: 10.7 kB / 1.134 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.8674, allocations: 14.3 kB / 1.134 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.8674, allocations: 0 / 1.134 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Templates: time 0.005124/0.8725, allocations: 1.563 MB / 1.136 GB, free: 9.652 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.088516846299171]