Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 189.5 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.833/2.833, allocations: 437 MB / 0.7101 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.89 kB / 0.8687 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6925, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.252/0.9446, allocations: 192.6 MB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.9651, allocations: 14.22 MB / 1.219 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.967, allocations: 31.81 kB / 1.219 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.9694, allocations: 433.7 kB / 1.219 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.9753, allocations: 1.778 MB / 1.221 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.978, allocations: 0.7915 MB / 1.222 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003855/0.9818, allocations: 2.565 MB / 1.224 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.9836, allocations: 1.068 MB / 1.225 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00554/0.9891, allocations: 1.596 MB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.9914, allocations: 0.9703 MB / 1.228 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.9917, allocations: 111.9 kB / 1.228 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.9945, allocations: 1.15 MB / 1.229 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.9951, allocations: 0.4949 MB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.996, allocations: 0.6299 MB / 1.23 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.9992, allocations: 1.967 MB / 1.232 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9993, allocations: 4 kB / 1.232 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9993, allocations: 0 / 1.232 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.9993, allocations: 0 / 1.232 GB, free: 5.5 MB / 0.9825 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.002632/1.002, allocations: 1.441 MB / 1.233 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.002, allocations: 15.97 kB / 1.233 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.003, allocations: 266.3 kB / 1.234 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.005, allocations: 0.7531 MB / 1.234 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/1.005, allocations: 70 kB / 1.235 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.005, allocations: 91.98 kB / 1.235 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.007, allocations: 1.178 MB / 1.236 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.007, allocations: 3.938 kB / 1.236 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/1.007, allocations: 43.94 kB / 1.236 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/1.007, allocations: 30 kB / 1.236 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/1.009, allocations: 0.9092 MB / 1.237 GB, free: 0.543 MB / 0.9825 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.006692/1.015, allocations: 5.715 MB / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/1.016, allocations: 0.5447 MB / 1.243 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/1.017, allocations: 318.6 kB / 1.243 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/1.018, allocations: 319.7 kB / 1.243 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.018, allocations: 35 kB / 1.243 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.946e-06/1.018, allocations: 4 kB / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001793/1.019, allocations: 0.8026 MB / 1.244 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/1.02, allocations: 59.83 kB / 1.244 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.021, allocations: 0.7432 MB / 1.245 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/1.021, allocations: 37.7 kB / 1.245 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/1.021, allocations: 0.5142 MB / 1.246 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/1.021, allocations: 181.5 kB / 1.246 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.022, allocations: 138.6 kB / 1.246 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.022, allocations: 337.9 kB / 1.246 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/1.022, allocations: 245.8 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/1.023, allocations: 0.5663 MB / 1.247 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.024, allocations: 0.7956 MB / 1.248 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.024, allocations: 4 kB / 1.248 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001456/1.026, allocations: 0.8429 MB / 1.249 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.026, allocations: 12.06 kB / 1.249 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.026, allocations: 11.98 kB / 1.249 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/1.026, allocations: 12 kB / 1.249 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.026, allocations: 155.8 kB / 1.249 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/1.026, allocations: 15.94 kB / 1.249 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.028, allocations: 147 kB / 1.249 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/1.028, allocations: 39.92 kB / 1.249 GB, free: 3.137 MB / 0.9981 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.0006041/1.028, allocations: 325.5 kB / 1.249 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.028, allocations: 90.95 kB / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/1.03, allocations: 0.618 MB / 1.25 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.03, allocations: 4 kB / 1.25 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.03, allocations: 0 / 1.25 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007969/1.03, allocations: 0.525 MB / 1.25 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.659/1.689, allocations: 1.662 MB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.69, allocations: 5.5 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/1.69, allocations: 112.7 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.69, allocations: 4.031 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/1.69, allocations: 15.84 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.69, allocations: 4.031 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.69, allocations: 3.547 kB / 1.252 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.692, allocations: 1.029 MB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/1.693, allocations: 221.2 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.693, allocations: 14.69 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/1.693, allocations: 62.86 kB / 1.254 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/1.693, allocations: 40.31 kB / 1.254 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/1.693, allocations: 19.05 kB / 1.254 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000867/1.694, allocations: 0.5102 MB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.593e-06/1.694, allocations: 0.75 kB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001179/1.695, allocations: 296.2 kB / 1.254 GB, free: 234.9 MB / 0.9981 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.0006269/1.696, allocations: 206 kB / 1.255 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001588/1.698, allocations: 0.7132 MB / 1.255 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.698, allocations: 0.7188 kB / 1.255 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/1.698, allocations: 274.1 kB / 1.256 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.7, allocations: 440.1 kB / 1.256 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/1.704, allocations: 2.323 MB / 1.258 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/1.705, allocations: 1.123 MB / 1.259 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00129/1.706, allocations: 265.7 kB / 1.26 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/1.707, allocations: 72.88 kB / 1.26 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.362e-06/1.707, allocations: 0 / 1.26 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03773/1.744, allocations: 15.34 MB / 1.275 GB, free: 228 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches