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.001156/0.001156, 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.00108/0.00108, allocations: 177.9 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.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.756/1.756, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.543e-06/1.543e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.055e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5441/0.5441, allocations: 131 MB / 1.129 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.5451, allocations: 1.046 MB / 1.13 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.5452, allocations: 1.062 kB / 1.13 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.5455, allocations: 53.72 kB / 1.13 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.5461, allocations: 324.4 kB / 1.13 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.5464, allocations: 167.1 kB / 1.13 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.5467, allocations: 228.2 kB / 1.131 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5469, allocations: 39.59 kB / 1.131 GB, free: 1.781 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.5469, allocations: 77.75 kB / 1.131 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.547, allocations: 46.31 kB / 1.131 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.547, allocations: 15.12 kB / 1.131 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.5473, allocations: 243.2 kB / 1.131 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.5474, allocations: 30.91 kB / 1.131 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.5474, allocations: 36.61 kB / 1.131 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.5478, allocations: 288.9 kB / 1.131 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5478, allocations: 0 / 1.131 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5478, allocations: 1.219 kB / 1.131 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5478, allocations: 0 / 1.131 GB, free: 1.508 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.0004697/0.5483, allocations: 398.3 kB / 1.132 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5483, allocations: 14.69 kB / 1.132 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.5486, allocations: 46.66 kB / 1.132 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.5488, allocations: 157.6 kB / 1.132 GB, free: 1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5488, allocations: 11.72 kB / 1.132 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.5488, allocations: 6.844 kB / 1.132 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.549, allocations: 116.9 kB / 1.132 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.549, allocations: 0 / 1.132 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.549, allocations: 8.969 kB / 1.132 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.549, allocations: 2.25 kB / 1.132 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.5492, allocations: 96.73 kB / 1.132 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.5496, allocations: 360.9 kB / 1.133 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.5498, allocations: 90.05 kB / 1.133 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.5498, allocations: 39.72 kB / 1.133 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5498, allocations: 1.125 kB / 1.133 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.5499, allocations: 37.45 kB / 1.133 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5499, allocations: 0 / 1.133 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0002817/0.5501, allocations: 145.4 kB / 1.133 GB, free: 440 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.5502, allocations: 53.19 kB / 1.133 GB, free: 376 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.5502, allocations: 149 kB / 1.133 GB, free: 260 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.5503, allocations: 25.7 kB / 1.133 GB, free: 228 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.5503, allocations: 124.9 kB / 1.133 GB, free: 112 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.5503, allocations: 24.62 kB / 1.133 GB, free: 92 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.5503, allocations: 19.84 kB / 1.133 GB, free: 72 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.5504, allocations: 324.6 kB / 1.134 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.5505, allocations: 31.2 kB / 1.134 GB, free: 15.74 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.5506, allocations: 31.31 kB / 1.134 GB, free: 15.73 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5507, allocations: 79.03 kB / 1.134 GB, free: 15.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5507, allocations: 6.188 kB / 1.134 GB, free: 15.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001594/0.5508, allocations: 116 kB / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5509, allocations: 5.688 kB / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5509, allocations: 1.406 kB / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5509, allocations: 0 / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.551, allocations: 18.38 kB / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.551, allocations: 0 / 1.134 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.551, allocations: 15.88 kB / 1.134 GB, free: 15.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.551, allocations: 6.516 kB / 1.134 GB, free: 15.62 MB / 1.01 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 7.001e-05/0.5511, allocations: 128.6 kB / 1.134 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.5511, allocations: 8.891 kB / 1.134 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.5513, allocations: 114.8 kB / 1.134 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5513, allocations: 1.734 kB / 1.134 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5513, allocations: 0 / 1.134 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5513, allocations: 0.7969 kB / 1.134 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5514, allocations: 156 kB / 1.134 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5514, allocations: 4.656 kB / 1.134 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.5515, allocations: 22.91 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5515, allocations: 5.344 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.5515, allocations: 0.8438 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5515, allocations: 1.406 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5515, allocations: 0 / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.5517, allocations: 210.2 kB / 1.134 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.5517, allocations: 12.69 kB / 1.134 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5517, allocations: 1.031 kB / 1.134 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.5518, allocations: 10.25 kB / 1.134 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.5518, allocations: 4.922 kB / 1.135 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5518, allocations: 4.859 kB / 1.135 GB, free: 15.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.5519, allocations: 118.2 kB / 1.135 GB, free: 15.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5519, allocations: 0 / 1.135 GB, free: 15.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001675/0.552, allocations: 31.3 kB / 1.135 GB, free: 15 MB / 1.01 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.0001296/0.5522, allocations: 100.3 kB / 1.135 GB, free: 14.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.5524, allocations: 82.78 kB / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5524, allocations: 0 / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.5524, allocations: 44.11 kB / 1.135 GB, free: 14.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5527, allocations: 24.14 kB / 1.135 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.5531, allocations: 273.8 kB / 1.135 GB, free: 14.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.5532, allocations: 92.48 kB / 1.135 GB, free: 14.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.5532, allocations: 17.89 kB / 1.135 GB, free: 14.58 MB / 1.01 GB Notification: Performance of SimCode: time 2.71e-07/0.5532, allocations: 3.938 kB / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of Templates: time 0.002633/0.5558, allocations: 1.64 MB / 1.137 GB, free: 14.43 MB / 1.01 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: 7.073152967728674]