Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3367, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8661/1.203, allocations: 149.4 MB / 1.36 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001771/1.205, allocations: 1.128 MB / 1.361 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/1.205, allocations: 2.812 kB / 1.361 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004022/1.205, allocations: 67.67 kB / 1.361 GB, free: 7.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008345/1.206, allocations: 307.3 kB / 1.361 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/1.206, allocations: 170.2 kB / 1.362 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/1.207, allocations: 223.9 kB / 1.362 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/1.207, allocations: 50.7 kB / 1.362 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/1.207, allocations: 44.73 kB / 1.362 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/1.207, allocations: 68.36 kB / 1.362 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/1.207, allocations: 11.69 kB / 1.362 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/1.208, allocations: 377 kB / 1.362 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/1.208, allocations: 31.56 kB / 1.362 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/1.208, allocations: 61.33 kB / 1.362 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/1.209, allocations: 304.4 kB / 1.363 GB, free: 6.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.209, allocations: 1.281 kB / 1.363 GB, free: 6.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/1.209, allocations: 0 / 1.363 GB, free: 6.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.209, allocations: 0 / 1.363 GB, free: 6.781 MB / 1.045 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.00073/1.209, allocations: 472.1 kB / 1.363 GB, free: 6.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.209, allocations: 9.875 kB / 1.363 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/1.21, allocations: 38.44 kB / 1.363 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/1.21, allocations: 212.9 kB / 1.363 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.21, allocations: 11.44 kB / 1.363 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.21, allocations: 10.66 kB / 1.363 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/1.21, allocations: 116.2 kB / 1.364 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.21, allocations: 6.234 kB / 1.364 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.21, allocations: 8 kB / 1.364 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.21, allocations: 2.969 kB / 1.364 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/1.211, allocations: 93.27 kB / 1.364 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/1.211, allocations: 462.2 kB / 1.364 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/1.212, allocations: 88.5 kB / 1.364 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.212, allocations: 36.03 kB / 1.364 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/1.212, allocations: 2.141 kB / 1.364 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.212, allocations: 36.89 kB / 1.364 GB, free: 5.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.212, allocations: 0 / 1.364 GB, free: 5.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004783/1.212, allocations: 144.9 kB / 1.364 GB, free: 5.449 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/1.212, allocations: 53.27 kB / 1.364 GB, free: 5.387 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.213, allocations: 183.5 kB / 1.365 GB, free: 5.258 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/1.213, allocations: 26.92 kB / 1.365 GB, free: 5.227 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/1.213, allocations: 115.4 kB / 1.365 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/1.213, allocations: 24.12 kB / 1.365 GB, free: 5.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/1.213, allocations: 20.64 kB / 1.365 GB, free: 5.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.213, allocations: 330.7 kB / 1.365 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/1.213, allocations: 34.89 kB / 1.365 GB, free: 4.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.213, allocations: 32.23 kB / 1.365 GB, free: 4.738 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/1.213, allocations: 77.02 kB / 1.365 GB, free: 4.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.213, allocations: 0 / 1.365 GB, free: 4.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003/1.214, allocations: 123.4 kB / 1.365 GB, free: 4.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.214, allocations: 4.562 kB / 1.365 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.214, allocations: 1.312 kB / 1.365 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.214, allocations: 0.9844 kB / 1.365 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.214, allocations: 21.5 kB / 1.365 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.214, allocations: 2.016 kB / 1.365 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/1.214, allocations: 15.05 kB / 1.365 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/1.214, allocations: 2.219 kB / 1.365 GB, free: 4.629 MB / 1.045 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.0001143/1.214, allocations: 136 kB / 1.366 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/1.214, allocations: 9.891 kB / 1.366 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/1.214, allocations: 126.3 kB / 1.366 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.214, allocations: 1.594 kB / 1.366 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.214, allocations: 0 / 1.366 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.214, allocations: 1.062 kB / 1.366 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/1.215, allocations: 223.3 kB / 1.366 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.215, allocations: 0.6875 kB / 1.366 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/1.215, allocations: 19.47 kB / 1.366 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.215, allocations: 1.594 kB / 1.366 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.215, allocations: 1.094 kB / 1.366 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.215, allocations: 4.688 kB / 1.366 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.215, allocations: 1.125 kB / 1.366 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/1.215, allocations: 213.8 kB / 1.366 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/1.215, allocations: 93.81 kB / 1.366 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/1.215, allocations: 0 / 1.366 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/1.215, allocations: 11.03 kB / 1.366 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/1.215, allocations: 10 kB / 1.366 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.215, allocations: 1.219 kB / 1.366 GB, free: 3.922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001218/1.216, allocations: 131.9 kB / 1.366 GB, free: 3.832 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.216, allocations: 0 / 1.366 GB, free: 3.832 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002484/1.216, allocations: 26.81 kB / 1.366 GB, free: 3.824 MB / 1.045 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.0001914/1.216, allocations: 115.6 kB / 1.367 GB, free: 3.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002972/1.216, allocations: 71.45 kB / 1.367 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.216, allocations: 0 / 1.367 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.216, allocations: 42.08 kB / 1.367 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/1.217, allocations: 34.62 kB / 1.367 GB, free: 3.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/1.217, allocations: 282.5 kB / 1.367 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.218, allocations: 0.7164 MB / 1.368 GB, free: 2.766 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/1.218, allocations: 14.03 kB / 1.368 GB, free: 2.758 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/1.218, allocations: 0 / 1.368 GB, free: 2.758 MB / 1.045 GB Notification: Performance of Templates: time 0.003641/1.221, allocations: 1.663 MB / 1.369 GB, free: 2.617 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.503826358122751]