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.0007712/0.0007712, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009535/0.0009535, allocations: 169 kB / 23.27 MB, free: 1.223 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.9943/0.9943, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.435/2.435, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 2.805e-06/2.805e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.984e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.152/0.1521, allocations: 149.2 MB / 1.036 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.1589, allocations: 4.946 MB / 1.04 GB, free: 14.94 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006195/0.1595, allocations: 51.56 kB / 1.04 GB, free: 14.89 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.1603, allocations: 285.9 kB / 1.041 GB, free: 14.61 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.1623, allocations: 1.294 MB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1641, allocations: 1.032 MB / 1.043 GB, free: 12.27 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.1664, allocations: 2.611 MB / 1.045 GB, free: 9.656 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.1674, allocations: 0.8011 MB / 1.046 GB, free: 8.832 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.1698, allocations: 1.576 MB / 1.048 GB, free: 7.324 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.1709, allocations: 0.8492 MB / 1.049 GB, free: 6.473 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.171, allocations: 104 kB / 1.049 GB, free: 6.371 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.1716, allocations: 439 kB / 1.049 GB, free: 5.941 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.1719, allocations: 0.5376 MB / 1.05 GB, free: 5.402 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.1723, allocations: 471 kB / 1.05 GB, free: 4.941 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1734, allocations: 1.227 MB / 1.051 GB, free: 3.711 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1734, allocations: 0 / 1.051 GB, free: 3.711 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1734, allocations: 0 / 1.051 GB, free: 3.711 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.1734, allocations: 0 / 1.051 GB, free: 3.711 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.001341/0.1747, allocations: 1.511 MB / 1.053 GB, free: 2.156 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1748, allocations: 12.62 kB / 1.053 GB, free: 2.145 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.1755, allocations: 347.2 kB / 1.053 GB, free: 1.805 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.1762, allocations: 0.719 MB / 1.054 GB, free: 1.055 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.1762, allocations: 70 kB / 1.054 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.1763, allocations: 100 kB / 1.054 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5216/0.698, allocations: 0.9067 MB / 1.055 GB, free: 68.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.698, allocations: 1.125 kB / 1.055 GB, free: 68.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.6981, allocations: 40.42 kB / 1.055 GB, free: 68.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.6981, allocations: 35.42 kB / 1.055 GB, free: 68.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.6986, allocations: 319.7 kB / 1.055 GB, free: 68.87 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.003681/0.7023, allocations: 4.702 MB / 1.06 GB, free: 65.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.7027, allocations: 254.6 kB / 1.06 GB, free: 65.87 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.7028, allocations: 127.6 kB / 1.06 GB, free: 65.85 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.703, allocations: 70.02 kB / 1.06 GB, free: 65.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7031, allocations: 43.83 kB / 1.06 GB, free: 65.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 3.466e-06/0.7031, allocations: 0 / 1.06 GB, free: 65.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.0007355/0.7038, allocations: 419 kB / 1.061 GB, free: 65.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.7038, allocations: 57.69 kB / 1.061 GB, free: 65.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.7044, allocations: 0.6788 MB / 1.061 GB, free: 65.46 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.7044, allocations: 38.27 kB / 1.061 GB, free: 65.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.7047, allocations: 0.5856 MB / 1.062 GB, free: 65.16 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.7048, allocations: 198 kB / 1.062 GB, free: 65.06 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.7049, allocations: 163.8 kB / 1.062 GB, free: 65.03 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7051, allocations: 0.5782 MB / 1.063 GB, free: 64.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.7052, allocations: 72.88 kB / 1.063 GB, free: 64.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.7055, allocations: 0.8575 MB / 1.064 GB, free: 63.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.7059, allocations: 0.6611 MB / 1.065 GB, free: 63.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7059, allocations: 2.969 kB / 1.065 GB, free: 63.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007019/0.7066, allocations: 0.585 MB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7066, allocations: 12.47 kB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.7067, allocations: 10.25 kB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.7067, allocations: 14.16 kB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.707, allocations: 170.5 kB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.707, allocations: 21.25 kB / 1.065 GB, free: 62.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.7075, allocations: 86.17 kB / 1.065 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.7075, allocations: 34.16 kB / 1.065 GB, free: 62.91 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.0002582/0.7078, allocations: 215.5 kB / 1.066 GB, free: 62.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.7079, allocations: 106.2 kB / 1.066 GB, free: 62.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.7083, allocations: 344.5 kB / 1.066 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7083, allocations: 8.422 kB / 1.066 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7083, allocations: 0 / 1.066 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002084/0.7085, allocations: 258.2 kB / 1.066 GB, free: 62.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7097, allocations: 1.031 MB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7097, allocations: 6.172 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.71, allocations: 109 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.71, allocations: 3.906 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.7101, allocations: 14.06 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.7101, allocations: 9.938 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7101, allocations: 2.938 kB / 1.067 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.7107, allocations: 0.6242 MB / 1.068 GB, free: 61.87 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.7109, allocations: 137.3 kB / 1.068 GB, free: 61.83 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.711, allocations: 10.59 kB / 1.068 GB, free: 61.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.7112, allocations: 20.66 kB / 1.068 GB, free: 61.83 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.7112, allocations: 37.25 kB / 1.068 GB, free: 61.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.7113, allocations: 19.67 kB / 1.068 GB, free: 61.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002723/0.7115, allocations: 394.7 kB / 1.069 GB, free: 61.69 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7115, allocations: 3.031 kB / 1.069 GB, free: 61.69 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008108/0.7123, allocations: 314.8 kB / 1.069 GB, free: 61.66 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.0004366/0.7128, allocations: 179.9 kB / 1.069 GB, free: 61.58 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005372/0.7133, allocations: 349.1 kB / 1.069 GB, free: 61.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7133, allocations: 2.781 kB / 1.069 GB, free: 61.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.7135, allocations: 140.2 kB / 1.07 GB, free: 61.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7146, allocations: 377.7 kB / 1.07 GB, free: 61.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.7171, allocations: 1.687 MB / 1.072 GB, free: 60.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.7172, allocations: 251 kB / 1.072 GB, free: 60.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000541/0.7178, allocations: 133.9 kB / 1.072 GB, free: 60.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.7183, allocations: 386 kB / 1.072 GB, free: 60.58 MB / 1.01 GB Notification: Performance of SimCode: time 2.325e-06/0.7183, allocations: 0.9062 kB / 1.072 GB, free: 60.58 MB / 1.01 GB Notification: Performance of Templates: time 0.02426/0.7426, allocations: 15.48 MB / 1.087 GB, free: 59.23 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.5509193441830575]