Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.0011/0.0011, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.002865, allocations: 449.8 kB / 10.44 MB, free: 252 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.001041/0.001041, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002551, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9544/0.9544, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09552/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.83/1.83, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5417/2.372, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.096e-05, allocations: 2.859 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1504/0.1504, allocations: 151.8 MB / 0.8779 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00946/0.1598, allocations: 4.681 MB / 0.8825 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1615, allocations: 51.56 kB / 0.8825 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.163, allocations: 293.9 kB / 0.8828 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.1668, allocations: 1.27 MB / 0.8841 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.1695, allocations: 0.923 MB / 0.885 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.1732, allocations: 2.58 MB / 0.8875 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.175, allocations: 0.8947 MB / 0.8884 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.1785, allocations: 1.627 MB / 0.89 GB, free: 15.98 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.1797, allocations: 0.7986 MB / 0.8907 GB, free: 15.19 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.1799, allocations: 107.9 kB / 0.8908 GB, free: 15.08 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.1807, allocations: 439 kB / 0.8913 GB, free: 14.65 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.1811, allocations: 482.8 kB / 0.8917 GB, free: 14.18 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.1815, allocations: 379.3 kB / 0.8921 GB, free: 13.81 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1829, allocations: 1.11 MB / 0.8932 GB, free: 12.7 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.1829, allocations: 0 / 0.8932 GB, free: 12.7 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1829, allocations: 3.938 kB / 0.8932 GB, free: 12.69 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.1829, allocations: 0 / 0.8932 GB, free: 12.69 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001509/0.1844, allocations: 1.585 MB / 0.8947 GB, free: 11.07 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1844, allocations: 12.03 kB / 0.8947 GB, free: 11.06 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.1853, allocations: 393 kB / 0.8951 GB, free: 10.66 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.1861, allocations: 0.6331 MB / 0.8957 GB, free: 9.996 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.1861, allocations: 70 kB / 0.8958 GB, free: 9.926 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.1862, allocations: 92 kB / 0.8959 GB, free: 9.836 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.1869, allocations: 0.8712 MB / 0.8967 GB, free: 8.863 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1869, allocations: 7.938 kB / 0.8967 GB, free: 8.855 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.187, allocations: 36 kB / 0.8968 GB, free: 8.82 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.187, allocations: 34 kB / 0.8968 GB, free: 8.785 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.1874, allocations: 318 kB / 0.8971 GB, free: 8.473 MB / 0.8699 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.1903, allocations: 3.406 MB / 0.9004 GB, free: 4.945 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1906, allocations: 285.2 kB / 0.9007 GB, free: 4.652 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1908, allocations: 109.7 kB / 0.9008 GB, free: 4.539 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.191, allocations: 64.44 kB / 0.9009 GB, free: 4.477 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.191, allocations: 39.06 kB / 0.9009 GB, free: 4.43 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/0.191, allocations: 0 / 0.9009 GB, free: 4.43 MB / 0.8699 GB Notification: Performance of matching and sorting (n=49): time 0.0005355/0.1915, allocations: 313.9 kB / 0.9012 GB, free: 4.121 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1915, allocations: 59.91 kB / 0.9013 GB, free: 4.051 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1919, allocations: 0.5661 MB / 0.9018 GB, free: 3.473 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.192, allocations: 37.7 kB / 0.9018 GB, free: 3.43 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1922, allocations: 449 kB / 0.9023 GB, free: 2.984 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1923, allocations: 182.4 kB / 0.9024 GB, free: 2.805 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1924, allocations: 138.5 kB / 0.9026 GB, free: 2.664 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1925, allocations: 390.6 kB / 0.903 GB, free: 2.273 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.1926, allocations: 72.8 kB / 0.903 GB, free: 2.203 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.1932, allocations: 0.6472 MB / 0.9037 GB, free: 1.355 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1936, allocations: 492.2 kB / 0.9041 GB, free: 0.7617 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1936, allocations: 7.938 kB / 0.9041 GB, free: 0.7539 MB / 0.8699 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004491/0.194, allocations: 432.3 kB / 0.9045 GB, free: 332 kB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1941, allocations: 10.66 kB / 0.9046 GB, free: 324 kB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1941, allocations: 8 kB / 0.9046 GB, free: 316 kB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1941, allocations: 12 kB / 0.9046 GB, free: 304 kB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.1945, allocations: 179.7 kB / 0.9047 GB, free: 124 kB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1945, allocations: 19.92 kB / 0.9048 GB, free: 104 kB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.1949, allocations: 76.19 kB / 0.9048 GB, free: 28 kB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.1949, allocations: 28 kB / 0.9049 GB, free: 0 / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0001919/0.1951, allocations: 164.5 kB / 0.905 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.1952, allocations: 67.92 kB / 0.9051 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.1955, allocations: 282.7 kB / 0.9054 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1955, allocations: 11.94 kB / 0.9054 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1955, allocations: 3.938 kB / 0.9054 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000178/0.1957, allocations: 192.3 kB / 0.9056 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1968, allocations: 0.8995 MB / 0.9064 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1968, allocations: 4 kB / 0.9064 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.1972, allocations: 154.6 kB / 0.9066 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.1973, allocations: 119.3 kB / 0.9067 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1973, allocations: 4.219 kB / 0.9067 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.1974, allocations: 23.92 kB / 0.9067 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1974, allocations: 7.938 kB / 0.9067 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1974, allocations: 0 / 0.9067 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.1979, allocations: 0.5318 MB / 0.9072 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.1979, allocations: 12 kB / 0.9073 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1981, allocations: 15.98 kB / 0.9073 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1982, allocations: 39.81 kB / 0.9073 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1982, allocations: 12 kB / 0.9073 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001896/0.1984, allocations: 260.5 kB / 0.9076 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1984, allocations: 4 kB / 0.9076 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006205/0.199, allocations: 307.3 kB / 0.9079 GB, free: 12.78 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003927/0.1994, allocations: 163.9 kB / 0.908 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1997, allocations: 299.5 kB / 0.9083 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/0.1998, allocations: 12.5 kB / 0.9083 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1999, allocations: 158.9 kB / 0.9085 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.2019, allocations: 2.592 MB / 0.911 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.2067, allocations: 1.644 MB / 0.9126 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2068, allocations: 247.1 kB / 0.9128 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004368/0.2073, allocations: 122.7 kB / 0.913 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.2078, allocations: 329.1 kB / 0.9133 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/0.2078, allocations: 0 / 0.9133 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of Templates: time 0.02138/0.2292, allocations: 16.21 MB / 0.9291 GB, free: 6.836 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.404068810865283]