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.001864/0.001864, 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.003041/0.003041, allocations: 211.2 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.504/3.504, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002074/0.002074, allocations: 71.14 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2315/0.6086, allocations: 172.7 MB / 1.496 GB, free: 3.598 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.6276, allocations: 13.18 MB / 1.509 GB, free: 6.383 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.6293, allocations: 51.56 kB / 1.509 GB, free: 6.332 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.631, allocations: 496.9 kB / 1.509 GB, free: 5.844 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.6365, allocations: 1.952 MB / 1.511 GB, free: 3.887 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.6392, allocations: 0.8969 MB / 1.512 GB, free: 2.992 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.6431, allocations: 2.62 MB / 1.515 GB, free: 368 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.6445, allocations: 0.8069 MB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.6498, allocations: 1.887 MB / 1.517 GB, free: 13.65 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.6519, allocations: 0.9624 MB / 1.518 GB, free: 12.69 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.6521, allocations: 108 kB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.6543, allocations: 0.9313 MB / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.6549, allocations: 0.5025 MB / 1.52 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.6556, allocations: 0.5368 MB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.6587, allocations: 1.9 MB / 1.522 GB, free: 8.703 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6587, allocations: 0 / 1.522 GB, free: 8.703 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6587, allocations: 0 / 1.522 GB, free: 8.703 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.6587, allocations: 0 / 1.522 GB, free: 8.703 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.002429/0.6611, allocations: 1.407 MB / 1.523 GB, free: 7.262 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6612, allocations: 15.97 kB / 1.523 GB, free: 7.246 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.6626, allocations: 267 kB / 1.524 GB, free: 6.984 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.6641, allocations: 0.7292 MB / 1.524 GB, free: 6.227 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.6642, allocations: 70 kB / 1.524 GB, free: 6.156 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6644, allocations: 95.94 kB / 1.524 GB, free: 6.062 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.6664, allocations: 1.298 MB / 1.526 GB, free: 4.664 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.6664, allocations: 0 / 1.526 GB, free: 4.664 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.6665, allocations: 43.94 kB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.6665, allocations: 34 kB / 1.526 GB, free: 4.586 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.668, allocations: 0.9015 MB / 1.527 GB, free: 3.684 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.005629/0.6736, allocations: 3.994 MB / 1.531 GB, free: 15.57 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.6745, allocations: 0.5125 MB / 1.531 GB, free: 15.05 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.675, allocations: 294.6 kB / 1.531 GB, free: 14.75 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.6755, allocations: 80.36 kB / 1.531 GB, free: 14.67 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6755, allocations: 39 kB / 1.531 GB, free: 14.62 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.6755, allocations: 0 / 1.531 GB, free: 14.62 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001618/0.6772, allocations: 0.7991 MB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.6772, allocations: 55.84 kB / 1.532 GB, free: 13.76 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.678, allocations: 0.6566 MB / 1.533 GB, free: 13.1 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.6781, allocations: 37.7 kB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.6785, allocations: 0.5193 MB / 1.534 GB, free: 12.53 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.6787, allocations: 190.5 kB / 1.534 GB, free: 12.34 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.6789, allocations: 138.6 kB / 1.534 GB, free: 12.2 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.6791, allocations: 386.7 kB / 1.534 GB, free: 11.81 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.6795, allocations: 249.8 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.6805, allocations: 0.8346 MB / 1.535 GB, free: 10.53 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6816, allocations: 0.7995 MB / 1.536 GB, free: 9.621 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6816, allocations: 0 / 1.536 GB, free: 9.621 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001325/0.6829, allocations: 0.8503 MB / 1.537 GB, free: 8.762 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6829, allocations: 8 kB / 1.537 GB, free: 8.754 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6829, allocations: 8.875 kB / 1.537 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.6829, allocations: 12 kB / 1.537 GB, free: 8.734 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.6836, allocations: 155.8 kB / 1.537 GB, free: 8.582 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.6836, allocations: 19.92 kB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.6843, allocations: 83.44 kB / 1.537 GB, free: 8.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.6843, allocations: 32 kB / 1.537 GB, free: 8.449 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.0005142/0.6849, allocations: 337.4 kB / 1.537 GB, free: 8.109 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.685, allocations: 79.48 kB / 1.538 GB, free: 8.031 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.686, allocations: 0.6171 MB / 1.538 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.686, allocations: 4 kB / 1.538 GB, free: 7.402 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6861, allocations: 0 / 1.538 GB, free: 7.402 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/0.6868, allocations: 0.5173 MB / 1.539 GB, free: 6.871 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.6892, allocations: 1.448 MB / 1.54 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6893, allocations: 4 kB / 1.54 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.6898, allocations: 108.1 kB / 1.54 GB, free: 5.254 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6898, allocations: 4 kB / 1.54 GB, free: 5.25 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.6899, allocations: 27.86 kB / 1.54 GB, free: 5.223 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6899, allocations: 4 kB / 1.54 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6899, allocations: 0 / 1.54 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6913, allocations: 1.008 MB / 1.541 GB, free: 4.172 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.6916, allocations: 143.4 kB / 1.541 GB, free: 4.031 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.6917, allocations: 15.94 kB / 1.541 GB, free: 4.016 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.6922, allocations: 19.98 kB / 1.541 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.6923, allocations: 39.88 kB / 1.541 GB, free: 3.957 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.6923, allocations: 20 kB / 1.541 GB, free: 3.938 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005605/0.6929, allocations: 443 kB / 1.542 GB, free: 3.512 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6929, allocations: 0 / 1.542 GB, free: 3.512 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009627/0.6938, allocations: 311.3 kB / 1.542 GB, free: 3.207 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.0004722/0.6943, allocations: 191.5 kB / 1.542 GB, free: 3.016 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009931/0.6953, allocations: 0.5882 MB / 1.543 GB, free: 2.43 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6953, allocations: 0 / 1.543 GB, free: 2.43 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.6957, allocations: 260 kB / 1.543 GB, free: 2.176 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.6974, allocations: 390.7 kB / 1.544 GB, free: 1.805 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.7005, allocations: 1.942 MB / 1.545 GB, free: 15.81 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.7011, allocations: 0.5235 MB / 1.546 GB, free: 15.25 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007041/0.7018, allocations: 250.5 kB / 1.546 GB, free: 15 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.702, allocations: 79.36 kB / 1.546 GB, free: 14.93 MB / 1.248 GB Notification: Performance of SimCode: time 5.81e-07/0.702, allocations: 0 / 1.546 GB, free: 14.93 MB / 1.248 GB Notification: Performance of Templates: time 0.0298/0.7318, allocations: 16.25 MB / 1.562 GB, free: 15.04 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 cvode -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: 10.374758761987323]