Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007488/0.0007488, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001763, 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.0007076/0.0007076, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002015, 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.9365/0.9365, allocations: 177.2 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09156/1.028, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.477/2.477, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2544/2.732, 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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.878e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1577/0.1577, allocations: 151.9 MB / 0.9666 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.008488/0.1662, allocations: 6.402 MB / 0.9729 GB, free: 3.996 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1673, allocations: 55.56 kB / 0.9729 GB, free: 3.941 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.1679, allocations: 294 kB / 0.9732 GB, free: 3.652 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.1703, allocations: 1.29 MB / 0.9745 GB, free: 2.355 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.1733, allocations: 1.401 MB / 0.9758 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.1764, allocations: 2.602 MB / 0.9784 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.1779, allocations: 0.8974 MB / 0.9793 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.1805, allocations: 1.672 MB / 0.9809 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.1816, allocations: 0.7985 MB / 0.9817 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1817, allocations: 111.9 kB / 0.9818 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.1826, allocations: 439.1 kB / 0.9822 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.183, allocations: 478.8 kB / 0.9827 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.1835, allocations: 387.3 kB / 0.983 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1849, allocations: 1.129 MB / 0.9841 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.1849, allocations: 0 / 0.9841 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1849, allocations: 4 kB / 0.9841 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.1849, allocations: 0 / 0.9841 GB, free: 8.523 MB / 0.9636 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.001648/0.1866, allocations: 1.624 MB / 0.9857 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1866, allocations: 12.62 kB / 0.9857 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.1874, allocations: 388.4 kB / 0.9861 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.1882, allocations: 0.6371 MB / 0.9867 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.1883, allocations: 74 kB / 0.9868 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.1883, allocations: 103.9 kB / 0.9869 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1894, allocations: 0.8673 MB / 0.9877 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1895, allocations: 11.92 kB / 0.9877 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.1895, allocations: 36 kB / 0.9878 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.1895, allocations: 41.98 kB / 0.9878 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1899, allocations: 322.1 kB / 0.9881 GB, free: 4.238 MB / 0.9636 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.00283/0.1927, allocations: 3.441 MB / 0.9915 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.193, allocations: 257.3 kB / 0.9917 GB, free: 428 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1931, allocations: 113.7 kB / 0.9918 GB, free: 308 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.1933, allocations: 56.44 kB / 0.9919 GB, free: 252 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1934, allocations: 46.98 kB / 0.9919 GB, free: 196 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=49): time 3.547e-06/0.1934, allocations: 0 / 0.9919 GB, free: 196 kB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.0005281/0.1939, allocations: 318 kB / 0.9922 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1939, allocations: 55.91 kB / 0.9923 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1943, allocations: 0.5894 MB / 0.9929 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.1943, allocations: 37.7 kB / 0.9929 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.1945, allocations: 457.1 kB / 0.9933 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.1946, allocations: 186.4 kB / 0.9935 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1948, allocations: 150.5 kB / 0.9937 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1949, allocations: 394.5 kB / 0.994 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.195, allocations: 80.78 kB / 0.9941 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.1953, allocations: 0.7036 MB / 0.9948 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.1957, allocations: 0.535 MB / 0.9953 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1957, allocations: 0 / 0.9953 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.000463/0.1962, allocations: 487.8 kB / 0.9958 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1962, allocations: 8 kB / 0.9958 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1962, allocations: 12 kB / 0.9958 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1962, allocations: 20.03 kB / 0.9958 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.1967, allocations: 192.3 kB / 0.996 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1967, allocations: 19.92 kB / 0.996 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.197, allocations: 99.11 kB / 0.9961 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.197, allocations: 35.98 kB / 0.9962 GB, free: 11.43 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (95): * Single equations (assignments): 95 * 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.0001665/0.1972, allocations: 160.4 kB / 0.9963 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.1973, allocations: 71.86 kB / 0.9964 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1976, allocations: 291 kB / 0.9967 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1976, allocations: 4 kB / 0.9967 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1976, allocations: 7.938 kB / 0.9967 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001749/0.1978, allocations: 204.2 kB / 0.9969 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1989, allocations: 0.9036 MB / 0.9978 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1989, allocations: 4 kB / 0.9978 GB, free: 9.703 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.1993, allocations: 150.9 kB / 0.9979 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1994, allocations: 115.3 kB / 0.998 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1995, allocations: 7.984 kB / 0.998 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1995, allocations: 12 kB / 0.998 GB, free: 9.422 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1995, allocations: 7.938 kB / 0.998 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1995, allocations: 0 / 0.998 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.1999, allocations: 0.5398 MB / 0.9986 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.2, allocations: 12 kB / 0.9986 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2002, allocations: 20 kB / 0.9986 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.2002, allocations: 31.94 kB / 0.9986 GB, free: 8.766 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2002, allocations: 12 kB / 0.9986 GB, free: 8.754 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001835/0.2004, allocations: 272.5 kB / 0.9989 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.2004, allocations: 0 / 0.9989 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005901/0.201, allocations: 315.3 kB / 0.9992 GB, free: 8.184 MB / 0.9792 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.0003646/0.2014, allocations: 167.5 kB / 0.9994 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.2017, allocations: 318.3 kB / 0.9997 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/0.2017, allocations: 16.5 kB / 0.9997 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2018, allocations: 125.7 kB / 0.9998 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.2027, allocations: 480.5 kB / 1 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.2075, allocations: 1.7 MB / 1.002 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.2077, allocations: 254.8 kB / 1.002 GB, free: 5.082 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.208, allocations: 126.8 kB / 1.002 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/0.2086, allocations: 329.1 kB / 1.003 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/0.2086, allocations: 0 / 1.003 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of Templates: time 0.01995/0.2285, allocations: 16.48 MB / 1.019 GB, free: 4.555 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.815693562850356]