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.00162/0.00162, allocations: 107.7 kB / 17.07 MB, free: 6.082 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.001596/0.001596, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.412/1.412, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.637/2.637, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 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.002027/0.002027, allocations: 67.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8127/1.159, allocations: 149 MB / 1.321 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001377/1.161, allocations: 1.135 MB / 1.322 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/1.161, allocations: 4.5 kB / 1.322 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003621/1.161, allocations: 54.05 kB / 1.323 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007989/1.162, allocations: 309.5 kB / 1.323 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/1.163, allocations: 164.2 kB / 1.323 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000463/1.163, allocations: 218.5 kB / 1.323 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/1.163, allocations: 53.66 kB / 1.323 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/1.163, allocations: 60.59 kB / 1.323 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/1.163, allocations: 57.11 kB / 1.323 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/1.163, allocations: 11.53 kB / 1.323 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/1.164, allocations: 369.5 kB / 1.324 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/1.164, allocations: 29 kB / 1.324 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/1.164, allocations: 68.05 kB / 1.324 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/1.165, allocations: 293.2 kB / 1.324 GB, free: 13.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.165, allocations: 0 / 1.324 GB, free: 13.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.165, allocations: 5.125 kB / 1.324 GB, free: 13.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.165, allocations: 0 / 1.324 GB, free: 13.67 MB / 1.014 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.000748/1.165, allocations: 475.7 kB / 1.325 GB, free: 13.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.166, allocations: 9.156 kB / 1.325 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/1.166, allocations: 35.25 kB / 1.325 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/1.166, allocations: 213.8 kB / 1.325 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.166, allocations: 12.95 kB / 1.325 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.166, allocations: 14.25 kB / 1.325 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/1.167, allocations: 115.8 kB / 1.325 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.167, allocations: 0 / 1.325 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.167, allocations: 4.875 kB / 1.325 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.167, allocations: 1.938 kB / 1.325 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.167, allocations: 91.72 kB / 1.325 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/1.168, allocations: 464.8 kB / 1.325 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/1.168, allocations: 86.36 kB / 1.326 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.168, allocations: 43.98 kB / 1.326 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/1.168, allocations: 4.719 kB / 1.326 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.168, allocations: 32.55 kB / 1.326 GB, free: 12.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.168, allocations: 0 / 1.326 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004646/1.168, allocations: 144.8 kB / 1.326 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.169, allocations: 52.92 kB / 1.326 GB, free: 12.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/1.169, allocations: 191.3 kB / 1.326 GB, free: 12.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.169, allocations: 26.31 kB / 1.326 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/1.169, allocations: 112.3 kB / 1.326 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/1.169, allocations: 23.7 kB / 1.326 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/1.169, allocations: 20.33 kB / 1.326 GB, free: 12.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.169, allocations: 328.8 kB / 1.326 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/1.169, allocations: 30.23 kB / 1.327 GB, free: 11.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/1.169, allocations: 39.66 kB / 1.327 GB, free: 11.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/1.17, allocations: 72.41 kB / 1.327 GB, free: 11.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.17, allocations: 2.875 kB / 1.327 GB, free: 11.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002824/1.17, allocations: 120.7 kB / 1.327 GB, free: 11.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.17, allocations: 9.406 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.17, allocations: 2.031 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.17, allocations: 0.7031 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.17, allocations: 21.52 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.17, allocations: 1.062 kB / 1.327 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/1.17, allocations: 20 kB / 1.327 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.17, allocations: 1.156 kB / 1.327 GB, free: 11.86 MB / 1.014 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.0001164/1.17, allocations: 123 kB / 1.327 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/1.17, allocations: 10.64 kB / 1.327 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/1.171, allocations: 132.6 kB / 1.327 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.171, allocations: 0.9375 kB / 1.327 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.171, allocations: 0 / 1.327 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.171, allocations: 0.6562 kB / 1.327 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/1.171, allocations: 222.7 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.171, allocations: 2.047 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.171, allocations: 15.09 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/1.171, allocations: 1.156 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/1.171, allocations: 8.047 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.171, allocations: 1.094 kB / 1.327 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.171, allocations: 5.562 kB / 1.327 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/1.172, allocations: 209.4 kB / 1.327 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/1.172, allocations: 89.81 kB / 1.328 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/1.172, allocations: 5.484 kB / 1.328 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.172, allocations: 6.219 kB / 1.328 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/1.172, allocations: 5.328 kB / 1.328 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.172, allocations: 5.859 kB / 1.328 GB, free: 11.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001232/1.172, allocations: 136.1 kB / 1.328 GB, free: 11.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.172, allocations: 0 / 1.328 GB, free: 11.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002481/1.172, allocations: 22.73 kB / 1.328 GB, free: 11.17 MB / 1.014 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.0001873/1.172, allocations: 108.7 kB / 1.328 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002963/1.173, allocations: 81.25 kB / 1.328 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.173, allocations: 0 / 1.328 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/1.173, allocations: 36.52 kB / 1.328 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/1.173, allocations: 34.41 kB / 1.328 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/1.174, allocations: 285.5 kB / 1.328 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/1.174, allocations: 0.7198 MB / 1.329 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/1.174, allocations: 13.81 kB / 1.329 GB, free: 10.16 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.174, allocations: 0 / 1.329 GB, free: 10.16 MB / 1.014 GB Notification: Performance of Templates: time 0.003845/1.178, allocations: 1.668 MB / 1.331 GB, free: 10.02 MB / 1.014 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.293290252098814]