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.001062/0.001062, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002511, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000716/0.000716, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009127/0.001629, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8607/0.8607, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07569/0.9364, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.294/2.294, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2947/2.589, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.663e-06/1.663e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.248e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1456/0.1457, allocations: 144.7 MB / 0.9597 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1469, allocations: 1.18 MB / 0.9608 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.147, allocations: 0 / 0.9608 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1473, allocations: 55.61 kB / 0.9609 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.1479, allocations: 306.4 kB / 0.9612 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1481, allocations: 167.1 kB / 0.9613 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.1488, allocations: 223.2 kB / 0.9615 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1489, allocations: 37.94 kB / 0.9616 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1491, allocations: 127.8 kB / 0.9617 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.1491, allocations: 43.89 kB / 0.9617 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1492, allocations: 12 kB / 0.9617 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1493, allocations: 131.7 kB / 0.9619 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.1494, allocations: 27.92 kB / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.1494, allocations: 35.88 kB / 0.9619 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1497, allocations: 191.4 kB / 0.9621 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.1497, allocations: 0 / 0.9621 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1497, allocations: 4 kB / 0.9621 GB, free: 15.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.1497, allocations: 0 / 0.9621 GB, free: 15.07 MB / 0.948 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.000509/0.1502, allocations: 407.6 kB / 0.9625 GB, free: 14.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1502, allocations: 8.625 kB / 0.9625 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.1505, allocations: 133.9 kB / 0.9626 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1507, allocations: 137.3 kB / 0.9628 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1507, allocations: 12 kB / 0.9628 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1507, allocations: 8 kB / 0.9628 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1508, allocations: 94.33 kB / 0.9629 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1509, allocations: 4 kB / 0.9629 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1509, allocations: 11.94 kB / 0.9629 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1509, allocations: 0 / 0.9629 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.1509, allocations: 30.11 kB / 0.9629 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1513, allocations: 271.8 kB / 0.9632 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.1514, allocations: 46.5 kB / 0.9632 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.1514, allocations: 12.86 kB / 0.9632 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1514, allocations: 0 / 0.9632 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1514, allocations: 38.5 kB / 0.9633 GB, free: 13.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1514, allocations: 0 / 0.9633 GB, free: 13.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000128/0.1515, allocations: 69.66 kB / 0.9633 GB, free: 13.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1516, allocations: 51.41 kB / 0.9634 GB, free: 13.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.1517, allocations: 144.8 kB / 0.9635 GB, free: 13.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1517, allocations: 29.7 kB / 0.9636 GB, free: 13.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1517, allocations: 108 kB / 0.9637 GB, free: 13.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1517, allocations: 27.73 kB / 0.9637 GB, free: 13.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1518, allocations: 21.7 kB / 0.9637 GB, free: 13.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.1518, allocations: 326.8 kB / 0.964 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.1518, allocations: 8 kB / 0.964 GB, free: 12.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.1519, allocations: 8 kB / 0.964 GB, free: 12.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.1519, allocations: 33.23 kB / 0.9641 GB, free: 12.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1519, allocations: 0 / 0.9641 GB, free: 12.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.443e-05/0.152, allocations: 65.66 kB / 0.9641 GB, free: 12.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.152, allocations: 4 kB / 0.9641 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.152, allocations: 0 / 0.9641 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.152, allocations: 0 / 0.9641 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.1521, allocations: 19.98 kB / 0.9641 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1521, allocations: 0 / 0.9641 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.1521, allocations: 7.938 kB / 0.9642 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1521, allocations: 4 kB / 0.9642 GB, free: 12.8 MB / 0.948 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.027e-05/0.1522, allocations: 124.5 kB / 0.9643 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1522, allocations: 11.97 kB / 0.9643 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.1523, allocations: 66.44 kB / 0.9644 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1523, allocations: 4 kB / 0.9644 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1523, allocations: 0 / 0.9644 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1523, allocations: 0 / 0.9644 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.843e-05/0.1524, allocations: 97.84 kB / 0.9644 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1524, allocations: 7.875 kB / 0.9645 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.1524, allocations: 19.92 kB / 0.9645 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.1524, allocations: 15.91 kB / 0.9645 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1524, allocations: 0 / 0.9645 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1524, allocations: 0 / 0.9645 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1524, allocations: 0 / 0.9645 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1524, allocations: 4 kB / 0.9645 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022e-05/0.1525, allocations: 151.5 kB / 0.9646 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1525, allocations: 4 kB / 0.9646 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.1526, allocations: 3.984 kB / 0.9646 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1526, allocations: 8 kB / 0.9647 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1526, allocations: 0 / 0.9647 GB, free: 12.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.1526, allocations: 39.06 kB / 0.9647 GB, free: 12.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1526, allocations: 4 kB / 0.9647 GB, free: 12.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001243/0.1528, allocations: 23.94 kB / 0.9647 GB, free: 12.17 MB / 0.948 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 9.928e-05/0.1529, allocations: 80.36 kB / 0.9648 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.1529, allocations: 36.83 kB / 0.9648 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.153, allocations: 0 / 0.9648 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.153, allocations: 20.8 kB / 0.9649 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1532, allocations: 47.84 kB / 0.9649 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1543, allocations: 263.7 kB / 0.9651 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.1543, allocations: 67.33 kB / 0.9652 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.1544, allocations: 12.5 kB / 0.9652 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.1544, allocations: 67.36 kB / 0.9653 GB, free: 11.53 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.1544, allocations: 0 / 0.9653 GB, free: 11.53 MB / 0.948 GB Notification: Performance of Templates: time 0.003164/0.1576, allocations: 1.582 MB / 0.9668 GB, free: 9.988 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110672582872212]