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.001094/0.001094, allocations: 93.06 kB / 19.65 MB, free: 280 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.001045/0.001045, allocations: 165 kB / 23.01 MB, free: 1.555 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.9674/0.9674, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.158/2.158, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.133e-06/1.133e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.035e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1461/0.1462, allocations: 152.1 MB / 1.027 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007447/0.1536, allocations: 4.995 MB / 1.032 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.1543, allocations: 51.56 kB / 1.032 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.1553, allocations: 293.9 kB / 1.032 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.1577, allocations: 1.282 MB / 1.033 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.1596, allocations: 1.036 MB / 1.034 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006518/0.1661, allocations: 2.6 MB / 1.037 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/0.1671, allocations: 0.801 MB / 1.037 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.1722, allocations: 1.407 MB / 1.039 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1735, allocations: 0.8897 MB / 1.04 GB, free: 384 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.1737, allocations: 108 kB / 1.04 GB, free: 276 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.1776, allocations: 0.5339 MB / 1.04 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.1781, allocations: 0.5415 MB / 1.041 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.1786, allocations: 478.9 kB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1811, allocations: 1.266 MB / 1.043 GB, free: 13.45 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.1811, allocations: 0 / 1.043 GB, free: 13.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.365e-06/0.1811, allocations: 0 / 1.043 GB, free: 13.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.428e-05/0.1812, allocations: 0 / 1.043 GB, free: 13.45 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.002735/0.1839, allocations: 1.522 MB / 1.044 GB, free: 11.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.184, allocations: 8.031 kB / 1.044 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.1856, allocations: 359.2 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.1872, allocations: 0.7638 MB / 1.045 GB, free: 10.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.1873, allocations: 70 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.1875, allocations: 104 kB / 1.045 GB, free: 10.56 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.1891, allocations: 0.9579 MB / 1.046 GB, free: 9.477 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.1891, allocations: 3.984 kB / 1.046 GB, free: 9.473 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.1892, allocations: 40 kB / 1.046 GB, free: 9.434 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.1893, allocations: 34 kB / 1.046 GB, free: 9.402 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.1903, allocations: 379.4 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.005626/0.1959, allocations: 4.738 MB / 1.051 GB, free: 4.145 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.1966, allocations: 269.7 kB / 1.052 GB, free: 3.867 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.1969, allocations: 145.7 kB / 1.052 GB, free: 3.719 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.1972, allocations: 64.44 kB / 1.052 GB, free: 3.656 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1973, allocations: 41.89 kB / 1.052 GB, free: 3.605 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 3.406e-06/0.1973, allocations: 0 / 1.052 GB, free: 3.605 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.001374/0.1987, allocations: 464.4 kB / 1.052 GB, free: 3.148 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1987, allocations: 63.89 kB / 1.052 GB, free: 3.074 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/0.1997, allocations: 0.6751 MB / 1.053 GB, free: 2.387 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.1998, allocations: 37.7 kB / 1.053 GB, free: 2.344 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.2002, allocations: 0.5885 MB / 1.054 GB, free: 1.746 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.2004, allocations: 198.4 kB / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.2007, allocations: 164.3 kB / 1.054 GB, free: 1.379 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002779/0.2009, allocations: 0.5664 MB / 1.054 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2012, allocations: 93.92 kB / 1.055 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5196/0.7208, allocations: 0.8776 MB / 1.055 GB, free: 75.87 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.7215, allocations: 0.6921 MB / 1.056 GB, free: 75.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-06/0.7215, allocations: 2.688 kB / 1.056 GB, free: 75.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008872/0.7224, allocations: 0.6329 MB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7224, allocations: 10.84 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.7224, allocations: 10.69 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.7225, allocations: 14.22 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.7229, allocations: 171.5 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.7229, allocations: 24.73 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.7235, allocations: 92.23 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.7235, allocations: 36.28 kB / 1.057 GB, free: 75.3 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.0003823/0.7239, allocations: 209.7 kB / 1.057 GB, free: 75.14 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.724, allocations: 98.92 kB / 1.057 GB, free: 75.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/0.7246, allocations: 386.7 kB / 1.058 GB, free: 75.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7246, allocations: 5.312 kB / 1.058 GB, free: 75.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7246, allocations: 8.109 kB / 1.058 GB, free: 75.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002946/0.7249, allocations: 285 kB / 1.058 GB, free: 75.01 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.7263, allocations: 1.229 MB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7263, allocations: 2.969 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.7266, allocations: 111.8 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7266, allocations: 2.969 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.7266, allocations: 19.05 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7266, allocations: 2.969 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.7267, allocations: 2.938 kB / 1.059 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.7273, allocations: 0.6705 MB / 1.06 GB, free: 74.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.7275, allocations: 144.8 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.7275, allocations: 9.625 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.7277, allocations: 16.83 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.7278, allocations: 34.78 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.7278, allocations: 19.58 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003367/0.7282, allocations: 423.2 kB / 1.061 GB, free: 74.14 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7282, allocations: 0 / 1.061 GB, free: 74.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007436/0.7289, allocations: 330.4 kB / 1.061 GB, free: 74.11 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.0004178/0.7293, allocations: 167.3 kB / 1.061 GB, free: 74.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.7298, allocations: 378.7 kB / 1.061 GB, free: 74.01 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7299, allocations: 3.75 kB / 1.061 GB, free: 74.01 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.73, allocations: 164.1 kB / 1.062 GB, free: 73.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.731, allocations: 392 kB / 1.062 GB, free: 73.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.7332, allocations: 1.675 MB / 1.064 GB, free: 73.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.7333, allocations: 250.2 kB / 1.064 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004527/0.7338, allocations: 224.8 kB / 1.064 GB, free: 73.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.7339, allocations: 70.78 kB / 1.064 GB, free: 73.1 MB / 1.01 GB Notification: Performance of SimCode: time 9.31e-07/0.7339, allocations: 1 kB / 1.064 GB, free: 73.1 MB / 1.01 GB Notification: Performance of Templates: time 0.01655/0.7505, allocations: 14.28 MB / 1.078 GB, free: 71.89 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.621242078952491]