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.001381/0.001381, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001432/0.001432, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9069/0.9069, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.604e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1482/0.1482, allocations: 152.1 MB / 1.027 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007303/0.1555, allocations: 5.004 MB / 1.032 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.1566, allocations: 51.56 kB / 1.032 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009265/0.1576, allocations: 285.9 kB / 1.032 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.1601, allocations: 1.294 MB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1623, allocations: 1.036 MB / 1.034 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.165, allocations: 2.6 MB / 1.037 GB, free: 3.379 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.166, allocations: 0.805 MB / 1.038 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.1687, allocations: 1.579 MB / 1.039 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1698, allocations: 0.8453 MB / 1.04 GB, free: 188 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.1699, allocations: 108 kB / 1.04 GB, free: 80 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.1708, allocations: 443 kB / 1.04 GB, free: 15.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.1712, allocations: 0.5337 MB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1716, allocations: 471 kB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1732, allocations: 1.223 MB / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1732, allocations: 0 / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.815e-06/0.1732, allocations: 0 / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.222e-05/0.1733, allocations: 0 / 1.043 GB, free: 13.42 MB / 1.01 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.001931/0.1752, allocations: 1.511 MB / 1.044 GB, free: 11.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1752, allocations: 8.031 kB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.1761, allocations: 351.2 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.177, allocations: 0.7424 MB / 1.045 GB, free: 10.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.177, allocations: 77.98 kB / 1.045 GB, free: 10.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1771, allocations: 104 kB / 1.045 GB, free: 10.57 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.1781, allocations: 0.9502 MB / 1.046 GB, free: 9.492 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1781, allocations: 7.938 kB / 1.046 GB, free: 9.484 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.1782, allocations: 36 kB / 1.046 GB, free: 9.449 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.1782, allocations: 34 kB / 1.046 GB, free: 9.414 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.1787, allocations: 395.3 kB / 1.047 GB, free: 9.027 MB / 1.01 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.003094/0.1818, allocations: 4.715 MB / 1.051 GB, free: 4.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.1823, allocations: 277.7 kB / 1.052 GB, free: 3.875 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1824, allocations: 145.7 kB / 1.052 GB, free: 3.727 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.1826, allocations: 56.44 kB / 1.052 GB, free: 3.672 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1827, allocations: 41.89 kB / 1.052 GB, free: 3.621 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 1.663e-06/0.1827, allocations: 0 / 1.052 GB, free: 3.621 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.0007925/0.1835, allocations: 476.4 kB / 1.052 GB, free: 3.152 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1835, allocations: 59.91 kB / 1.052 GB, free: 3.082 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.184, allocations: 0.6829 MB / 1.053 GB, free: 2.387 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.184, allocations: 37.7 kB / 1.053 GB, free: 2.344 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.1843, allocations: 0.5808 MB / 1.054 GB, free: 1.754 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1844, allocations: 190.4 kB / 1.054 GB, free: 1.566 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1845, allocations: 164.2 kB / 1.054 GB, free: 1.395 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1847, allocations: 0.5664 MB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1849, allocations: 105.9 kB / 1.055 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5027/0.6875, allocations: 0.872 MB / 1.055 GB, free: 75.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.6883, allocations: 0.6932 MB / 1.056 GB, free: 75.38 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6883, allocations: 4.25 kB / 1.056 GB, free: 75.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001017/0.6893, allocations: 0.6376 MB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6893, allocations: 7.625 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.6893, allocations: 11.62 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.6894, allocations: 13.62 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.6899, allocations: 174.2 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.6899, allocations: 22.28 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.6904, allocations: 90.02 kB / 1.057 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.6904, allocations: 43.31 kB / 1.057 GB, free: 75.34 MB / 1.01 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.000263/0.6907, allocations: 207.9 kB / 1.057 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6908, allocations: 99.08 kB / 1.057 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.6914, allocations: 382.5 kB / 1.058 GB, free: 75.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6914, allocations: 5.438 kB / 1.058 GB, free: 75.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6914, allocations: 9.219 kB / 1.058 GB, free: 75.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003491/0.6918, allocations: 287.4 kB / 1.058 GB, free: 75.05 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.6933, allocations: 1.227 MB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6933, allocations: 2.875 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.6936, allocations: 111.7 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6936, allocations: 6.094 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6937, allocations: 10.38 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.6937, allocations: 2.938 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6937, allocations: 3.406 kB / 1.059 GB, free: 74.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.6944, allocations: 0.6733 MB / 1.06 GB, free: 74.36 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.6946, allocations: 144.7 kB / 1.06 GB, free: 74.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.6947, allocations: 13.42 kB / 1.06 GB, free: 74.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.695, allocations: 16.27 kB / 1.06 GB, free: 74.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.695, allocations: 37.19 kB / 1.06 GB, free: 74.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.6951, allocations: 18.66 kB / 1.06 GB, free: 74.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003426/0.6954, allocations: 423.2 kB / 1.061 GB, free: 74.17 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6954, allocations: 0.7812 kB / 1.061 GB, free: 74.17 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008235/0.6962, allocations: 330.3 kB / 1.061 GB, free: 74.14 MB / 1.01 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.0004527/0.6967, allocations: 163.3 kB / 1.061 GB, free: 74.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006309/0.6973, allocations: 379.8 kB / 1.061 GB, free: 74.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6973, allocations: 1.031 kB / 1.061 GB, free: 74.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.6975, allocations: 166.5 kB / 1.062 GB, free: 74.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6988, allocations: 390.2 kB / 1.062 GB, free: 74.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.7016, allocations: 1.681 MB / 1.064 GB, free: 73.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.7018, allocations: 249.5 kB / 1.064 GB, free: 73.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006067/0.7024, allocations: 227.1 kB / 1.064 GB, free: 73.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.7025, allocations: 70.86 kB / 1.064 GB, free: 73.13 MB / 1.01 GB Notification: Performance of SimCode: time 1.283e-06/0.7025, allocations: 0 / 1.064 GB, free: 73.13 MB / 1.01 GB Notification: Performance of Templates: time 0.02025/0.7228, allocations: 15.16 MB / 1.079 GB, free: 71.77 MB / 1.01 GB " [Timeout remaining time 299] 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.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: 6.267654900904745]