Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001947/0.001947, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002457/0.002457, allocations: 157.4 kB / 23.01 MB, free: 4.602 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.558/1.558, allocations: 177.2 MB / 203.4 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.895/2.895, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002285/0.002285, allocations: 67.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9885, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2265/1.215, allocations: 172.7 MB / 1.355 GB, free: 9.07 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01942/1.234, allocations: 13.16 MB / 1.368 GB, free: 11.88 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/1.236, allocations: 55.56 kB / 1.368 GB, free: 11.82 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/1.237, allocations: 0.4929 MB / 1.369 GB, free: 11.32 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/1.242, allocations: 1.948 MB / 1.371 GB, free: 9.371 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/1.245, allocations: 0.873 MB / 1.371 GB, free: 8.5 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003434/1.248, allocations: 2.612 MB / 1.374 GB, free: 5.879 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/1.249, allocations: 0.7873 MB / 1.375 GB, free: 5.066 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/1.254, allocations: 1.902 MB / 1.377 GB, free: 3.18 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/1.256, allocations: 0.9366 MB / 1.378 GB, free: 2.242 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/1.256, allocations: 104 kB / 1.378 GB, free: 2.141 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/1.258, allocations: 0.9196 MB / 1.379 GB, free: 1.219 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005681/1.259, allocations: 0.5103 MB / 1.379 GB, free: 0.707 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006631/1.259, allocations: 0.5252 MB / 1.38 GB, free: 184 kB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/1.263, allocations: 1.904 MB / 1.381 GB, free: 14.27 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.263, allocations: 0 / 1.381 GB, free: 14.27 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.755e-06/1.263, allocations: 4 kB / 1.381 GB, free: 14.27 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.824e-05/1.263, allocations: 0 / 1.381 GB, free: 14.27 MB / 1.232 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.002475/1.265, allocations: 1.403 MB / 1.383 GB, free: 12.83 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.265, allocations: 12.03 kB / 1.383 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/1.267, allocations: 263 kB / 1.383 GB, free: 12.56 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.268, allocations: 0.7331 MB / 1.384 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/1.268, allocations: 70 kB / 1.384 GB, free: 11.73 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.268, allocations: 99.95 kB / 1.384 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.27, allocations: 1.294 MB / 1.385 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.27, allocations: 0 / 1.385 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/1.27, allocations: 43.94 kB / 1.385 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/1.27, allocations: 41.92 kB / 1.385 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.272, allocations: 0.8937 MB / 1.386 GB, free: 9.258 MB / 1.232 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.005442/1.277, allocations: 3.994 MB / 1.39 GB, free: 5.141 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009471/1.278, allocations: 0.5128 MB / 1.391 GB, free: 4.621 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/1.279, allocations: 307.2 kB / 1.391 GB, free: 4.316 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/1.279, allocations: 76.41 kB / 1.391 GB, free: 4.238 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.279, allocations: 43.06 kB / 1.391 GB, free: 4.188 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/1.279, allocations: 4 kB / 1.391 GB, free: 4.184 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001708/1.281, allocations: 0.7972 MB / 1.392 GB, free: 3.383 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/1.281, allocations: 63.91 kB / 1.392 GB, free: 3.305 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/1.282, allocations: 0.6565 MB / 1.392 GB, free: 2.641 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/1.282, allocations: 37.7 kB / 1.392 GB, free: 2.598 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.283, allocations: 0.5193 MB / 1.393 GB, free: 2.07 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/1.283, allocations: 186.4 kB / 1.393 GB, free: 1.887 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/1.283, allocations: 142.6 kB / 1.393 GB, free: 1.742 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002193/1.283, allocations: 394.6 kB / 1.394 GB, free: 1.348 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/1.284, allocations: 249.8 kB / 1.394 GB, free: 1.105 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/1.284, allocations: 0.8269 MB / 1.395 GB, free: 80 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.286, allocations: 0.8006 MB / 1.395 GB, free: 15.17 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.286, allocations: 8 kB / 1.395 GB, free: 15.16 MB / 1.248 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001399/1.287, allocations: 0.8403 MB / 1.396 GB, free: 14.31 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.287, allocations: 10.66 kB / 1.396 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.287, allocations: 12 kB / 1.396 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.287, allocations: 12 kB / 1.396 GB, free: 14.28 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/1.288, allocations: 152.4 kB / 1.396 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/1.288, allocations: 11.98 kB / 1.396 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/1.288, allocations: 83.5 kB / 1.397 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/1.288, allocations: 36 kB / 1.397 GB, free: 14 MB / 1.248 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.0004856/1.289, allocations: 333.4 kB / 1.397 GB, free: 13.67 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.289, allocations: 83.48 kB / 1.397 GB, free: 13.59 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.29, allocations: 0.6108 MB / 1.398 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.29, allocations: 4 kB / 1.398 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.29, allocations: 4 kB / 1.398 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008596/1.291, allocations: 0.5187 MB / 1.398 GB, free: 12.42 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.294, allocations: 1.444 MB / 1.4 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.294, allocations: 0 / 1.4 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/1.294, allocations: 107.9 kB / 1.4 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.294, allocations: 4.219 kB / 1.4 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/1.294, allocations: 23.92 kB / 1.4 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.294, allocations: 4 kB / 1.4 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.294, allocations: 7.938 kB / 1.4 GB, free: 10.78 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.296, allocations: 1.013 MB / 1.401 GB, free: 9.727 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/1.296, allocations: 139.3 kB / 1.401 GB, free: 9.59 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/1.296, allocations: 19.94 kB / 1.401 GB, free: 9.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/1.296, allocations: 15.98 kB / 1.401 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.297, allocations: 39.88 kB / 1.401 GB, free: 9.516 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/1.297, allocations: 20 kB / 1.401 GB, free: 9.496 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006611/1.297, allocations: 455 kB / 1.401 GB, free: 9.059 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.297, allocations: 0 / 1.401 GB, free: 9.059 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009225/1.298, allocations: 307.3 kB / 1.402 GB, free: 8.758 MB / 1.248 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.0004647/1.299, allocations: 188.4 kB / 1.402 GB, free: 8.566 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009985/1.3, allocations: 0.5857 MB / 1.402 GB, free: 7.98 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/1.3, allocations: 4.125 kB / 1.402 GB, free: 7.977 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/1.3, allocations: 259.5 kB / 1.403 GB, free: 7.723 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.302, allocations: 387.8 kB / 1.403 GB, free: 7.355 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/1.305, allocations: 1.934 MB / 1.405 GB, free: 5.367 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/1.306, allocations: 0.5274 MB / 1.405 GB, free: 4.809 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007052/1.306, allocations: 258.5 kB / 1.406 GB, free: 4.551 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/1.306, allocations: 60.5 kB / 1.406 GB, free: 4.492 MB / 1.248 GB Notification: Performance of SimCode: time 5.21e-07/1.306, allocations: 0 / 1.406 GB, free: 4.492 MB / 1.248 GB Notification: Performance of Templates: time 0.02709/1.333, allocations: 14.48 MB / 1.42 GB, free: 6.379 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.802444932051003]