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.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.001548/0.001548, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001685/0.001685, allocations: 210.6 kB / 22.99 MB, free: 4.957 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 68.53 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2162/0.5219, allocations: 172.7 MB / 1.496 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.5416, allocations: 13.18 MB / 1.509 GB, free: 6.348 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5428, allocations: 47.62 kB / 1.509 GB, free: 6.301 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.5444, allocations: 0.493 MB / 1.509 GB, free: 5.805 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.5495, allocations: 1.941 MB / 1.511 GB, free: 3.855 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.5519, allocations: 0.8911 MB / 1.512 GB, free: 2.969 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.5554, allocations: 2.63 MB / 1.515 GB, free: 336 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.5567, allocations: 0.8029 MB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.5622, allocations: 1.886 MB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.5642, allocations: 0.9668 MB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.5644, allocations: 108 kB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.5666, allocations: 0.9274 MB / 1.519 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005787/0.5672, allocations: 0.5064 MB / 1.52 GB, free: 11.11 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.5679, allocations: 0.5291 MB / 1.52 GB, free: 10.58 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.5706, allocations: 1.904 MB / 1.522 GB, free: 8.672 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5707, allocations: 0 / 1.522 GB, free: 8.672 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5707, allocations: 0 / 1.522 GB, free: 8.672 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.5707, allocations: 0 / 1.522 GB, free: 8.672 MB / 1.217 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.002698/0.5734, allocations: 1.415 MB / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.5734, allocations: 12.03 kB / 1.523 GB, free: 7.211 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.5751, allocations: 259 kB / 1.524 GB, free: 6.957 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.5769, allocations: 0.7331 MB / 1.524 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.5769, allocations: 74 kB / 1.524 GB, free: 6.121 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.5771, allocations: 92 kB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.5793, allocations: 1.294 MB / 1.526 GB, free: 4.637 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.5794, allocations: 3.938 kB / 1.526 GB, free: 4.633 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/0.5795, allocations: 43.94 kB / 1.526 GB, free: 4.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.5795, allocations: 38 kB / 1.526 GB, free: 4.551 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5811, allocations: 0.9054 MB / 1.527 GB, free: 3.645 MB / 1.217 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.005386/0.5865, allocations: 3.986 MB / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.5874, allocations: 0.5125 MB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.5878, allocations: 291.8 kB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.5884, allocations: 80.34 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.5884, allocations: 39 kB / 1.531 GB, free: 14.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.5884, allocations: 4 kB / 1.531 GB, free: 14.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001611/0.59, allocations: 0.7953 MB / 1.532 GB, free: 13.8 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5901, allocations: 55.84 kB / 1.532 GB, free: 13.73 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.5909, allocations: 0.6605 MB / 1.533 GB, free: 13.07 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.591, allocations: 37.7 kB / 1.533 GB, free: 13.02 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.5914, allocations: 0.5193 MB / 1.534 GB, free: 12.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.5916, allocations: 182.5 kB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.5918, allocations: 142.6 kB / 1.534 GB, free: 12.17 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.592, allocations: 390.7 kB / 1.534 GB, free: 11.78 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.5924, allocations: 253.8 kB / 1.534 GB, free: 11.53 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.5933, allocations: 0.8346 MB / 1.535 GB, free: 10.5 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5944, allocations: 0.7995 MB / 1.536 GB, free: 9.586 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5944, allocations: 8 kB / 1.536 GB, free: 9.578 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001335/0.5957, allocations: 0.8389 MB / 1.537 GB, free: 8.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5957, allocations: 8 kB / 1.537 GB, free: 8.723 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5958, allocations: 8 kB / 1.537 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.5958, allocations: 15.98 kB / 1.537 GB, free: 8.699 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.5964, allocations: 152.4 kB / 1.537 GB, free: 8.551 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.5964, allocations: 19.94 kB / 1.537 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.5971, allocations: 79.44 kB / 1.537 GB, free: 8.453 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.5972, allocations: 39.98 kB / 1.537 GB, free: 8.414 MB / 1.232 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.0004841/0.5977, allocations: 329.4 kB / 1.537 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.5978, allocations: 87.47 kB / 1.538 GB, free: 7.996 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.5989, allocations: 0.6016 MB / 1.538 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.5989, allocations: 15.97 kB / 1.538 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5989, allocations: 4 kB / 1.538 GB, free: 7.367 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007897/0.5997, allocations: 0.5211 MB / 1.539 GB, free: 6.832 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6022, allocations: 1.44 MB / 1.54 GB, free: 5.332 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6022, allocations: 0 / 1.54 GB, free: 5.332 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.6028, allocations: 115.8 kB / 1.54 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.6028, allocations: 8.219 kB / 1.54 GB, free: 5.211 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.6028, allocations: 15.92 kB / 1.54 GB, free: 5.195 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6028, allocations: 4 kB / 1.54 GB, free: 5.191 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.6028, allocations: 4 kB / 1.54 GB, free: 5.188 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.6043, allocations: 1.012 MB / 1.541 GB, free: 4.137 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.6046, allocations: 143.4 kB / 1.541 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6048, allocations: 11.94 kB / 1.541 GB, free: 3.984 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.6052, allocations: 20.73 kB / 1.541 GB, free: 3.965 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.6053, allocations: 31.94 kB / 1.541 GB, free: 3.934 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6053, allocations: 31.88 kB / 1.541 GB, free: 3.902 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005645/0.6059, allocations: 447 kB / 1.542 GB, free: 3.473 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6059, allocations: 0 / 1.542 GB, free: 3.473 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009283/0.6068, allocations: 311.3 kB / 1.542 GB, free: 3.168 MB / 1.232 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.0004715/0.6073, allocations: 194.6 kB / 1.542 GB, free: 2.977 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.6083, allocations: 0.5926 MB / 1.543 GB, free: 2.387 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6083, allocations: 3.938 kB / 1.543 GB, free: 2.383 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.6087, allocations: 260 kB / 1.543 GB, free: 2.129 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.6104, allocations: 383.2 kB / 1.544 GB, free: 1.762 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.6134, allocations: 1.938 MB / 1.545 GB, free: 15.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.614, allocations: 0.5274 MB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006975/0.6147, allocations: 250.5 kB / 1.546 GB, free: 14.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.6149, allocations: 67.42 kB / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of SimCode: time 4.41e-07/0.6149, allocations: 0 / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of Templates: time 0.02755/0.6425, allocations: 16.25 MB / 1.562 GB, free: 15.02 MB / 1.264 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/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: 9.297579537000274]