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.001719/0.001719, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002198/0.002198, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.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 3.519/3.519, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 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.002154/0.002154, allocations: 75.97 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4462, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.24/0.6862, allocations: 172.7 MB / 1.533 GB, free: 180 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.7085, allocations: 13.15 MB / 1.545 GB, free: 2.984 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.7102, allocations: 51.56 kB / 1.545 GB, free: 2.934 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.7124, allocations: 0.493 MB / 1.546 GB, free: 2.438 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.719, allocations: 1.944 MB / 1.548 GB, free: 500 kB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.7221, allocations: 0.8893 MB / 1.549 GB, free: 15.6 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.7265, allocations: 2.6 MB / 1.551 GB, free: 12.99 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.7283, allocations: 0.7951 MB / 1.552 GB, free: 12.17 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.7345, allocations: 1.882 MB / 1.554 GB, free: 10.3 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.7369, allocations: 0.9359 MB / 1.555 GB, free: 9.363 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.7373, allocations: 104 kB / 1.555 GB, free: 9.262 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.7399, allocations: 0.9235 MB / 1.556 GB, free: 8.336 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008601/0.7408, allocations: 0.4986 MB / 1.556 GB, free: 7.836 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.7423, allocations: 0.529 MB / 1.557 GB, free: 7.305 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.7464, allocations: 1.896 MB / 1.559 GB, free: 5.402 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7464, allocations: 3.938 kB / 1.559 GB, free: 5.398 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7464, allocations: 0 / 1.559 GB, free: 5.398 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.468e-05/0.7465, allocations: 0 / 1.559 GB, free: 5.398 MB / 1.248 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.00317/0.7497, allocations: 1.423 MB / 1.56 GB, free: 3.941 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.7497, allocations: 12.03 kB / 1.56 GB, free: 3.93 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.7511, allocations: 255 kB / 1.56 GB, free: 3.68 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.7529, allocations: 0.737 MB / 1.561 GB, free: 2.914 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.7529, allocations: 70 kB / 1.561 GB, free: 2.844 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7531, allocations: 95.95 kB / 1.561 GB, free: 2.75 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.7551, allocations: 1.294 MB / 1.562 GB, free: 1.355 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.7552, allocations: 4 kB / 1.562 GB, free: 1.352 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.7552, allocations: 43.94 kB / 1.562 GB, free: 1.309 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.7553, allocations: 41.98 kB / 1.562 GB, free: 1.266 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.7569, allocations: 0.8976 MB / 1.563 GB, free: 380 kB / 1.248 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.005854/0.7628, allocations: 3.994 MB / 1.567 GB, free: 12.25 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/0.7637, allocations: 0.5008 MB / 1.568 GB, free: 11.75 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.7643, allocations: 302 kB / 1.568 GB, free: 11.45 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.7648, allocations: 76.36 kB / 1.568 GB, free: 11.38 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.7648, allocations: 46.92 kB / 1.568 GB, free: 11.32 MB / 1.264 GB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.7648, allocations: 0 / 1.568 GB, free: 11.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.001681/0.7665, allocations: 0.7953 MB / 1.569 GB, free: 10.52 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.7666, allocations: 63.84 kB / 1.569 GB, free: 10.44 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.7677, allocations: 0.6527 MB / 1.57 GB, free: 9.781 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.7677, allocations: 37.7 kB / 1.57 GB, free: 9.738 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/0.7682, allocations: 0.5271 MB / 1.57 GB, free: 9.203 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7684, allocations: 182.5 kB / 1.57 GB, free: 9.023 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.7687, allocations: 146.6 kB / 1.57 GB, free: 8.875 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0003132/0.769, allocations: 382.7 kB / 1.571 GB, free: 8.492 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.7695, allocations: 249.8 kB / 1.571 GB, free: 8.246 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/0.7704, allocations: 0.8346 MB / 1.572 GB, free: 7.211 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.7717, allocations: 0.8035 MB / 1.573 GB, free: 6.297 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7717, allocations: 4 kB / 1.573 GB, free: 6.293 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001451/0.7731, allocations: 0.8356 MB / 1.574 GB, free: 5.453 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.7731, allocations: 9.094 kB / 1.574 GB, free: 5.445 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.7732, allocations: 8 kB / 1.574 GB, free: 5.438 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.7732, allocations: 12 kB / 1.574 GB, free: 5.426 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.7738, allocations: 151.8 kB / 1.574 GB, free: 5.277 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.7738, allocations: 23.91 kB / 1.574 GB, free: 5.254 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.7745, allocations: 83.44 kB / 1.574 GB, free: 5.172 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.7746, allocations: 39.94 kB / 1.574 GB, free: 5.133 MB / 1.264 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.0005225/0.7751, allocations: 337.5 kB / 1.574 GB, free: 4.793 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.7753, allocations: 83.48 kB / 1.574 GB, free: 4.711 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.7764, allocations: 0.6131 MB / 1.575 GB, free: 4.086 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7764, allocations: 4 kB / 1.575 GB, free: 4.082 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7764, allocations: 0 / 1.575 GB, free: 4.082 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008178/0.7772, allocations: 0.5173 MB / 1.575 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.7799, allocations: 1.444 MB / 1.577 GB, free: 2.051 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7799, allocations: 4 kB / 1.577 GB, free: 2.047 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.7804, allocations: 107.9 kB / 1.577 GB, free: 1.941 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.7804, allocations: 4 kB / 1.577 GB, free: 1.938 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.7805, allocations: 19.94 kB / 1.577 GB, free: 1.918 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7805, allocations: 4 kB / 1.577 GB, free: 1.914 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7805, allocations: 7.938 kB / 1.577 GB, free: 1.906 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.7821, allocations: 1.016 MB / 1.578 GB, free: 0.8516 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.7825, allocations: 135.4 kB / 1.578 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7826, allocations: 23.92 kB / 1.578 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.783, allocations: 15.94 kB / 1.578 GB, free: 0.6797 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.7831, allocations: 35.94 kB / 1.578 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.7831, allocations: 16 kB / 1.578 GB, free: 0.6289 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006164/0.7838, allocations: 451 kB / 1.579 GB, free: 200 kB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7838, allocations: 0 / 1.579 GB, free: 200 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.001002/0.7848, allocations: 315.3 kB / 1.579 GB, free: 15.88 MB / 1.279 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.0005423/0.7853, allocations: 183.2 kB / 1.579 GB, free: 15.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.7864, allocations: 0.5965 MB / 1.58 GB, free: 15.11 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7864, allocations: 0 / 1.58 GB, free: 15.11 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.7868, allocations: 263.5 kB / 1.58 GB, free: 14.85 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.7886, allocations: 381.4 kB / 1.58 GB, free: 14.48 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.7922, allocations: 1.942 MB / 1.582 GB, free: 12.49 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.7929, allocations: 0.5274 MB / 1.583 GB, free: 11.93 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008049/0.7937, allocations: 254.5 kB / 1.583 GB, free: 11.68 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.7939, allocations: 63.42 kB / 1.583 GB, free: 11.62 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/0.7939, allocations: 0 / 1.583 GB, free: 11.62 MB / 1.279 GB Notification: Performance of Templates: time 0.03183/0.8257, allocations: 15.99 MB / 1.599 GB, free: 11.99 MB / 1.295 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 -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/jenkins/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: 11.521736485883594]