Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 191.8 kB / 22.1 MB, free: 4.227 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.058/3.058, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances")
translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.319/1.321, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2642/1.585, allocations: 194.1 MB / 1.496 GB, free: 3.895 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.02113/1.606, allocations: 14.36 MB / 1.51 GB, free: 8.102 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/1.608, allocations: 47.62 kB / 1.51 GB, free: 8.055 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.001745/1.61, allocations: 0.5163 MB / 1.511 GB, free: 7.535 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.006021/1.616, allocations: 2.002 MB / 1.513 GB, free: 5.531 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002738/1.618, allocations: 0.9005 MB / 1.514 GB, free: 4.633 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.004012/1.622, allocations: 2.634 MB / 1.516 GB, free: 1.988 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001389/1.624, allocations: 0.7991 MB / 1.517 GB, free: 1.164 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005683/1.63, allocations: 1.893 MB / 1.519 GB, free: 15.28 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002154/1.632, allocations: 0.9699 MB / 1.52 GB, free: 14.31 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002107/1.632, allocations: 108 kB / 1.52 GB, free: 14.21 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002523/1.634, allocations: 0.9235 MB / 1.521 GB, free: 13.28 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006754/1.635, allocations: 0.5103 MB / 1.521 GB, free: 12.77 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009204/1.636, allocations: 0.6339 MB / 1.522 GB, free: 12.13 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.003277/1.639, allocations: 1.892 MB / 1.524 GB, free: 10.23 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/1.639, allocations: 0 / 1.524 GB, free: 10.23 MB / 1.201 GB
Notification: Performance of FrontEnd: time 2.495e-06/1.639, allocations: 0 / 1.524 GB, free: 10.23 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 1.457e-05/1.639, allocations: 0 / 1.524 GB, free: 10.23 MB / 1.201 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.002469/1.642, allocations: 1.403 MB / 1.525 GB, free: 8.797 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.642, allocations: 8.031 kB / 1.525 GB, free: 8.789 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/1.643, allocations: 267 kB / 1.526 GB, free: 8.527 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/1.645, allocations: 0.7245 MB / 1.526 GB, free: 7.773 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.645, allocations: 74 kB / 1.526 GB, free: 7.703 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.645, allocations: 92 kB / 1.526 GB, free: 7.613 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.647, allocations: 1.169 MB / 1.528 GB, free: 6.371 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.647, allocations: 0 / 1.528 GB, free: 6.371 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/1.647, allocations: 43.88 kB / 1.528 GB, free: 6.328 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/1.647, allocations: 38 kB / 1.528 GB, free: 6.293 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.648, allocations: 0.9054 MB / 1.528 GB, free: 5.387 MB / 1.201 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.006791/1.655, allocations: 5.748 MB / 1.534 GB, free: 15.17 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/1.656, allocations: 0.5219 MB / 1.535 GB, free: 14.64 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/1.657, allocations: 298.6 kB / 1.535 GB, free: 14.35 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/1.657, allocations: 80.36 kB / 1.535 GB, free: 14.27 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.657, allocations: 39 kB / 1.535 GB, free: 14.22 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=49): time 2.795e-06/1.657, allocations: 0 / 1.535 GB, free: 14.22 MB / 1.217 GB
Notification: Performance of matching and sorting (n=49): time 0.001721/1.659, allocations: 0.8109 MB / 1.536 GB, free: 13.4 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/1.659, allocations: 55.84 kB / 1.536 GB, free: 13.34 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.66, allocations: 0.7471 MB / 1.537 GB, free: 12.58 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 6.447e-05/1.66, allocations: 33.7 kB / 1.537 GB, free: 12.54 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004754/1.661, allocations: 0.5194 MB / 1.537 GB, free: 12.01 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.661, allocations: 190.4 kB / 1.537 GB, free: 11.82 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.661, allocations: 142.6 kB / 1.537 GB, free: 11.68 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001732/1.661, allocations: 337.9 kB / 1.538 GB, free: 11.34 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/1.662, allocations: 253.8 kB / 1.538 GB, free: 11.09 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/1.662, allocations: 0.5585 MB / 1.539 GB, free: 10.4 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.664, allocations: 0.7995 MB / 1.539 GB, free: 9.492 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.664, allocations: 0 / 1.539 GB, free: 9.492 MB / 1.217 GB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.001426/1.665, allocations: 0.8548 MB / 1.54 GB, free: 8.633 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.665, allocations: 8 kB / 1.54 GB, free: 8.625 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.665, allocations: 8 kB / 1.54 GB, free: 8.617 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.665, allocations: 12 kB / 1.54 GB, free: 8.605 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/1.666, allocations: 155.8 kB / 1.54 GB, free: 8.453 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.666, allocations: 12 kB / 1.54 GB, free: 8.441 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/1.667, allocations: 99.5 kB / 1.54 GB, free: 8.344 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/1.667, allocations: 39.94 kB / 1.54 GB, free: 8.305 MB / 1.217 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.0005355/1.667, allocations: 329.5 kB / 1.541 GB, free: 7.973 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/1.667, allocations: 91.44 kB / 1.541 GB, free: 7.883 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.668, allocations: 0.6179 MB / 1.541 GB, free: 7.254 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.668, allocations: 4 kB / 1.541 GB, free: 7.25 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.668, allocations: 0 / 1.541 GB, free: 7.25 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008298/1.669, allocations: 0.525 MB / 1.542 GB, free: 6.715 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/1.672, allocations: 1.635 MB / 1.544 GB, free: 5.008 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.672, allocations: 4.219 kB / 1.544 GB, free: 5.004 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/1.673, allocations: 107.9 kB / 1.544 GB, free: 4.898 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.673, allocations: 4 kB / 1.544 GB, free: 4.895 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.673, allocations: 19.98 kB / 1.544 GB, free: 4.875 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.673, allocations: 11.94 kB / 1.544 GB, free: 4.863 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.673, allocations: 0 / 1.544 GB, free: 4.863 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.674, allocations: 1.027 MB / 1.545 GB, free: 3.797 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.675, allocations: 147.4 kB / 1.545 GB, free: 3.652 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.675, allocations: 15.98 kB / 1.545 GB, free: 3.637 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/1.675, allocations: 15.94 kB / 1.545 GB, free: 3.621 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/1.675, allocations: 35.94 kB / 1.545 GB, free: 3.586 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.675, allocations: 27.92 kB / 1.545 GB, free: 3.559 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0007171/1.676, allocations: 0.5068 MB / 1.545 GB, free: 3.059 MB / 1.217 GB
Notification: Performance of sort global known variables: time 9e-08/1.676, allocations: 0 / 1.545 GB, free: 3.059 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0009849/1.677, allocations: 311.3 kB / 1.546 GB, free: 2.754 MB / 1.217 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.0005674/1.678, allocations: 199.2 kB / 1.546 GB, free: 2.562 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.001085/1.679, allocations: 0.5885 MB / 1.547 GB, free: 1.973 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.679, allocations: 3.938 kB / 1.547 GB, free: 1.969 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004151/1.679, allocations: 260.2 kB / 1.547 GB, free: 1.715 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.681, allocations: 443.5 kB / 1.547 GB, free: 1.289 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/1.685, allocations: 1.957 MB / 1.549 GB, free: 15.28 MB / 1.232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009575/1.686, allocations: 1.123 MB / 1.55 GB, free: 14.13 MB / 1.232 GB
Notification: Performance of simCode: alias equations: time 0.0009078/1.687, allocations: 267.1 kB / 1.55 GB, free: 13.86 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.687, allocations: 71.42 kB / 1.551 GB, free: 13.79 MB / 1.232 GB
Notification: Performance of SimCode: time 1.542e-06/1.687, allocations: 3.938 kB / 1.551 GB, free: 13.79 MB / 1.232 GB
Notification: Performance of Templates: time 0.03658/1.724, allocations: 16.12 MB / 1.566 GB, free: 13.91 MB / 1.248 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.853111223317683]