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.001698/0.001698, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002065/0.002065, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476 MB / 0.7707 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 69.8 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 169.9 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1752/0.522, allocations: 131 MB / 1.412 GB, free: 8.355 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.5238, allocations: 1.055 MB / 1.413 GB, free: 7.297 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.524, allocations: 4 kB / 1.413 GB, free: 7.293 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.5244, allocations: 43.69 kB / 1.413 GB, free: 7.25 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.5254, allocations: 322.6 kB / 1.413 GB, free: 6.934 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.5258, allocations: 163.3 kB / 1.413 GB, free: 6.773 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.5264, allocations: 223.3 kB / 1.413 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.5265, allocations: 41.91 kB / 1.414 GB, free: 6.512 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.5266, allocations: 51.84 kB / 1.414 GB, free: 6.461 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.5268, allocations: 55.64 kB / 1.414 GB, free: 6.406 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.5268, allocations: 12 kB / 1.414 GB, free: 6.395 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.5273, allocations: 235.5 kB / 1.414 GB, free: 6.164 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.5273, allocations: 35.84 kB / 1.414 GB, free: 6.129 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.5274, allocations: 47.8 kB / 1.414 GB, free: 6.082 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.5279, allocations: 275 kB / 1.414 GB, free: 5.812 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.528, allocations: 4 kB / 1.414 GB, free: 5.809 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.834e-06/0.528, allocations: 0 / 1.414 GB, free: 5.809 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.528, allocations: 0 / 1.414 GB, free: 5.809 MB / 1.107 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.0007657/0.5287, allocations: 405.2 kB / 1.415 GB, free: 5.383 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5288, allocations: 12.02 kB / 1.415 GB, free: 5.371 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.5293, allocations: 48.8 kB / 1.415 GB, free: 5.324 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5296, allocations: 147.7 kB / 1.415 GB, free: 5.156 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5296, allocations: 11.94 kB / 1.415 GB, free: 5.145 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.5297, allocations: 19.94 kB / 1.415 GB, free: 5.125 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.53, allocations: 122.6 kB / 1.415 GB, free: 5 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.53, allocations: 0 / 1.415 GB, free: 5 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.53, allocations: 4 kB / 1.415 GB, free: 4.996 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.53, allocations: 4 kB / 1.415 GB, free: 4.992 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.5303, allocations: 87.94 kB / 1.415 GB, free: 4.906 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.531, allocations: 372 kB / 1.415 GB, free: 4.512 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5312, allocations: 82.48 kB / 1.415 GB, free: 4.422 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.5313, allocations: 44.88 kB / 1.416 GB, free: 4.375 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.5313, allocations: 4 kB / 1.416 GB, free: 4.371 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5314, allocations: 30.56 kB / 1.416 GB, free: 4.332 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5314, allocations: 0 / 1.416 GB, free: 4.332 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.5319, allocations: 141.6 kB / 1.416 GB, free: 4.188 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.5319, allocations: 51.41 kB / 1.416 GB, free: 4.125 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5321, allocations: 149.2 kB / 1.416 GB, free: 3.973 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5321, allocations: 25.7 kB / 1.416 GB, free: 3.941 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.5322, allocations: 123.9 kB / 1.416 GB, free: 3.816 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.5322, allocations: 27.78 kB / 1.416 GB, free: 3.789 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.5322, allocations: 21.66 kB / 1.416 GB, free: 3.762 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5324, allocations: 326.8 kB / 1.416 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.5325, allocations: 31.97 kB / 1.416 GB, free: 3.402 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.5326, allocations: 31.98 kB / 1.416 GB, free: 3.371 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.5328, allocations: 76.81 kB / 1.417 GB, free: 3.293 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5328, allocations: 4 kB / 1.417 GB, free: 3.289 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002754/0.5331, allocations: 106.1 kB / 1.417 GB, free: 3.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5331, allocations: 8 kB / 1.417 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5331, allocations: 0 / 1.417 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5331, allocations: 0 / 1.417 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.5333, allocations: 23.92 kB / 1.417 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5333, allocations: 80 / 1.417 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.5334, allocations: 15.94 kB / 1.417 GB, free: 3.133 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5334, allocations: 7.984 kB / 1.417 GB, free: 3.125 MB / 1.107 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.0001135/0.5335, allocations: 121.8 kB / 1.417 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.5335, allocations: 7.953 kB / 1.417 GB, free: 2.988 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.5339, allocations: 126.3 kB / 1.417 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5339, allocations: 7.938 kB / 1.417 GB, free: 2.848 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5339, allocations: 4 kB / 1.417 GB, free: 2.844 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5339, allocations: 0 / 1.417 GB, free: 2.844 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.5341, allocations: 161.2 kB / 1.417 GB, free: 2.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5341, allocations: 0 / 1.417 GB, free: 2.656 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5342, allocations: 15.98 kB / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5342, allocations: 0 / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5342, allocations: 0 / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5342, allocations: 0 / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5342, allocations: 0 / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.5345, allocations: 215.4 kB / 1.417 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.5346, allocations: 15.91 kB / 1.417 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.5346, allocations: 0 / 1.417 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5347, allocations: 11.92 kB / 1.417 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.5347, allocations: 4 kB / 1.417 GB, free: 2.383 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5348, allocations: 3.938 kB / 1.417 GB, free: 2.379 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001047/0.5349, allocations: 115.2 kB / 1.417 GB, free: 2.266 MB / 1.107 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5349, allocations: 0 / 1.417 GB, free: 2.266 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002496/0.5351, allocations: 27.94 kB / 1.417 GB, free: 2.238 MB / 1.107 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.0001724/0.5353, allocations: 111.2 kB / 1.418 GB, free: 2.121 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.5356, allocations: 67.95 kB / 1.418 GB, free: 2.055 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5356, allocations: 0 / 1.418 GB, free: 2.055 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5357, allocations: 43.91 kB / 1.418 GB, free: 2.012 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5361, allocations: 38.36 kB / 1.418 GB, free: 1.977 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.5367, allocations: 274.8 kB / 1.418 GB, free: 1.676 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.5368, allocations: 90.28 kB / 1.418 GB, free: 1.566 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.5369, allocations: 19.44 kB / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of SimCode: time 2.81e-07/0.5369, allocations: 0 / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of Templates: time 0.004083/0.5409, allocations: 1.627 MB / 1.42 GB, free: 15.93 MB / 1.123 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/jenkins1/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: 11.441563562024385]