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.0008769/0.0008766, allocations: 92.23 kB / 16.02 MB, free: 80 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.001097/0.001097, allocations: 178.6 kB / 16.92 MB, free: 6.648 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: 223.3 MB / 241 MB, free: 5.289 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.658/2.658, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 11.94 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7327, allocations: 153.8 MB / 1.024 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2715/1.004, allocations: 190.3 MB / 1.21 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02174/1.026, allocations: 14.21 MB / 1.223 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/1.028, allocations: 31.75 kB / 1.223 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/1.03, allocations: 425.7 kB / 1.224 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007058/1.037, allocations: 1.77 MB / 1.226 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/1.04, allocations: 0.7726 MB / 1.226 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006649/1.047, allocations: 3.61 MB / 1.23 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/1.05, allocations: 0.9195 MB / 1.231 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/1.056, allocations: 1.409 MB / 1.232 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/1.059, allocations: 0.9272 MB / 1.233 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004271/1.059, allocations: 44 kB / 1.233 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/1.064, allocations: 1.243 MB / 1.234 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.065, allocations: 442.8 kB / 1.235 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/1.067, allocations: 0.5847 MB / 1.235 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/1.07, allocations: 1.407 MB / 1.237 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/1.07, allocations: 0 / 1.237 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/1.07, allocations: 0 / 1.237 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.884e-05/1.071, allocations: 0 / 1.237 GB, free: 5.133 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.00422/1.075, allocations: 1.231 MB / 1.238 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.075, allocations: 12.03 kB / 1.238 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/1.078, allocations: 242.4 kB / 1.238 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/1.08, allocations: 0.757 MB / 1.239 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.08, allocations: 73.94 kB / 1.239 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/1.08, allocations: 92 kB / 1.239 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/1.084, allocations: 1.173 MB / 1.24 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/1.084, allocations: 7.938 kB / 1.24 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/1.084, allocations: 39.94 kB / 1.24 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/1.084, allocations: 41.97 kB / 1.24 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/1.087, allocations: 0.8976 MB / 1.241 GB, free: 420 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.6342/1.721, allocations: 5.73 MB / 1.247 GB, free: 214.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/1.722, allocations: 0.5358 MB / 1.247 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/1.722, allocations: 318.5 kB / 1.248 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/1.723, allocations: 329 kB / 1.248 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.723, allocations: 38.91 kB / 1.248 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 3.447e-06/1.723, allocations: 0 / 1.248 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001712/1.725, allocations: 0.7972 MB / 1.249 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.725, allocations: 56.69 kB / 1.249 GB, free: 213.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.726, allocations: 0.7477 MB / 1.249 GB, free: 213.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/1.726, allocations: 43.58 kB / 1.25 GB, free: 213.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/1.726, allocations: 0.5045 MB / 1.25 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.726, allocations: 183.9 kB / 1.25 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/1.727, allocations: 64.64 kB / 1.25 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/1.727, allocations: 338.7 kB / 1.251 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/1.727, allocations: 246.1 kB / 1.251 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.728, allocations: 0.561 MB / 1.251 GB, free: 212 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009594/1.729, allocations: 0.8019 MB / 1.252 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.729, allocations: 1.906 kB / 1.252 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00144/1.73, allocations: 0.8447 MB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/1.73, allocations: 8.062 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.73, allocations: 7.594 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/1.73, allocations: 14.03 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/1.731, allocations: 152.8 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/1.731, allocations: 13.83 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/1.732, allocations: 141.4 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/1.732, allocations: 36.78 kB / 1.253 GB, free: 211.1 MB / 0.9825 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.0004857/1.732, allocations: 336.6 kB / 1.254 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/1.732, allocations: 89.47 kB / 1.254 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.734, allocations: 0.6268 MB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.734, allocations: 4.719 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.734, allocations: 3.281 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007806/1.734, allocations: 0.5191 MB / 1.255 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.738, allocations: 1.669 MB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.738, allocations: 2.5 kB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/1.738, allocations: 108.6 kB / 1.257 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/1.738, allocations: 7.875 kB / 1.257 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/1.738, allocations: 19.27 kB / 1.257 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/1.738, allocations: 8.688 kB / 1.257 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.738, allocations: 5.188 kB / 1.257 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/1.74, allocations: 1.015 MB / 1.258 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/1.74, allocations: 221 kB / 1.258 GB, free: 208.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/1.74, allocations: 18.27 kB / 1.258 GB, free: 208.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/1.741, allocations: 64.88 kB / 1.258 GB, free: 208.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/1.741, allocations: 30.7 kB / 1.258 GB, free: 208.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/1.741, allocations: 21.89 kB / 1.258 GB, free: 208.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006869/1.742, allocations: 0.5106 MB / 1.258 GB, free: 208.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.002e-06/1.742, allocations: 0.6875 kB / 1.258 GB, free: 208.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009367/1.743, allocations: 300.8 kB / 1.259 GB, free: 208.5 MB / 0.9825 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.0004707/1.743, allocations: 201.9 kB / 1.259 GB, free: 208.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.744, allocations: 0.612 MB / 1.26 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.744, allocations: 1.344 kB / 1.26 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/1.745, allocations: 269.2 kB / 1.26 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.747, allocations: 437.1 kB / 1.26 GB, free: 208 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/1.75, allocations: 2.488 MB / 1.263 GB, free: 206.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/1.751, allocations: 1.12 MB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.751, allocations: 80.94 kB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of SimCode: time 7.42e-07/1.751, allocations: 0 / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.02422/1.775, allocations: 14.5 MB / 1.278 GB, free: 198.1 MB / 0.9825 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