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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001355/0.001356, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 196.6 kB / 16.79 MB, free: 6.832 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 63.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.831, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2998/1.131, allocations: 192.9 MB / 1.206 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01949/1.15, allocations: 14.4 MB / 1.22 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/1.152, allocations: 31.81 kB / 1.22 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/1.154, allocations: 425.7 kB / 1.22 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00512/1.159, allocations: 1.778 MB / 1.222 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.162, allocations: 0.7686 MB / 1.223 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004248/1.166, allocations: 3.622 MB / 1.226 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/1.168, allocations: 0.9402 MB / 1.227 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005256/1.173, allocations: 1.447 MB / 1.228 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/1.175, allocations: 0.9547 MB / 1.229 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/1.175, allocations: 64 kB / 1.229 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/1.178, allocations: 1.262 MB / 1.231 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008187/1.179, allocations: 462.7 kB / 1.231 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/1.181, allocations: 0.587 MB / 1.232 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/1.183, allocations: 1.423 MB / 1.233 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.183, allocations: 0 / 1.233 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/1.183, allocations: 0 / 1.233 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.077e-05/1.183, allocations: 0 / 1.233 GB, free: 5.008 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.003271/1.186, allocations: 1.453 MB / 1.235 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.186, allocations: 12.03 kB / 1.235 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/1.188, allocations: 254.3 kB / 1.235 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/1.189, allocations: 0.757 MB / 1.236 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/1.189, allocations: 66 kB / 1.236 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.19, allocations: 96 kB / 1.236 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.192, allocations: 1.173 MB / 1.237 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.192, allocations: 3.938 kB / 1.237 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.192, allocations: 43.94 kB / 1.237 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/1.192, allocations: 34 kB / 1.237 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.193, allocations: 0.9054 MB / 1.238 GB, free: 56 kB / 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.006057/1.199, allocations: 5.719 MB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/1.2, allocations: 0.551 MB / 1.244 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/1.201, allocations: 314.6 kB / 1.244 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/1.201, allocations: 307.8 kB / 1.245 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.201, allocations: 39 kB / 1.245 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.755e-06/1.201, allocations: 4 kB / 1.245 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001579/1.203, allocations: 0.8026 MB / 1.245 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.203, allocations: 55.84 kB / 1.245 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/1.204, allocations: 0.7471 MB / 1.246 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/1.204, allocations: 33.7 kB / 1.246 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.204, allocations: 0.5181 MB / 1.247 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/1.205, allocations: 177.5 kB / 1.247 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.205, allocations: 138.5 kB / 1.247 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.205, allocations: 341.9 kB / 1.247 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/1.205, allocations: 245.9 kB / 1.248 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/1.206, allocations: 0.5623 MB / 1.248 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.207, allocations: 0.8034 MB / 1.249 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.207, allocations: 4 kB / 1.249 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001316/1.208, allocations: 0.8384 MB / 1.25 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.208, allocations: 8 kB / 1.25 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.208, allocations: 12 kB / 1.25 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.208, allocations: 12.75 kB / 1.25 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/1.209, allocations: 155.8 kB / 1.25 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/1.209, allocations: 23.92 kB / 1.25 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/1.21, allocations: 143 kB / 1.25 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/1.21, allocations: 39.92 kB / 1.25 GB, free: 2.656 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.0004511/1.21, allocations: 339 kB / 1.25 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/1.211, allocations: 82.97 kB / 1.25 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/1.212, allocations: 0.6218 MB / 1.251 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.212, allocations: 8 kB / 1.251 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.212, allocations: 0 / 1.251 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006864/1.212, allocations: 0.5134 MB / 1.252 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5847/1.797, allocations: 1.666 MB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.797, allocations: 6.281 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/1.798, allocations: 113.9 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.798, allocations: 4.219 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/1.798, allocations: 13.92 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/1.798, allocations: 6.438 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.798, allocations: 2.406 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/1.799, allocations: 1.02 MB / 1.254 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/1.8, allocations: 223.2 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.8, allocations: 14.02 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/1.801, allocations: 64.75 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/1.801, allocations: 37.72 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/1.801, allocations: 19.42 kB / 1.255 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007419/1.801, allocations: 0.5133 MB / 1.255 GB, free: 235 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.801, allocations: 0 / 1.255 GB, free: 235 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000969/1.802, allocations: 301.4 kB / 1.255 GB, free: 235 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.0004806/1.803, allocations: 206.9 kB / 1.256 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.804, allocations: 0.6029 MB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.804, allocations: 0.7812 kB / 1.256 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/1.804, allocations: 276.7 kB / 1.257 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.806, allocations: 434.9 kB / 1.257 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/1.81, allocations: 2.393 MB / 1.259 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/1.81, allocations: 1.126 MB / 1.26 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/1.811, allocations: 79.05 kB / 1.26 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.811, allocations: 3.844 kB / 1.26 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02693/1.837, allocations: 14.64 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches