Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001681/0.001681, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001549/0.001549, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002162/0.002162, allocations: 67.97 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2302/0.6319, allocations: 172.7 MB / 1.452 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.6503, allocations: 13.17 MB / 1.465 GB, free: 1.441 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.6517, allocations: 51.56 kB / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.6532, allocations: 0.4891 MB / 1.465 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.6585, allocations: 1.945 MB / 1.467 GB, free: 14.95 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.6613, allocations: 0.8795 MB / 1.468 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003612/0.665, allocations: 2.612 MB / 1.47 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6662, allocations: 0.7951 MB / 1.471 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.6708, allocations: 1.687 MB / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.6727, allocations: 0.9478 MB / 1.474 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.6729, allocations: 104 kB / 1.474 GB, free: 7.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.675, allocations: 0.9351 MB / 1.475 GB, free: 6.973 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.6756, allocations: 0.5025 MB / 1.475 GB, free: 6.469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.6763, allocations: 0.529 MB / 1.476 GB, free: 5.938 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6793, allocations: 1.904 MB / 1.478 GB, free: 4.027 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6793, allocations: 0 / 1.478 GB, free: 4.027 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6793, allocations: 0 / 1.478 GB, free: 4.027 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.6793, allocations: 0 / 1.478 GB, free: 4.027 MB / 1.17 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.00254/0.6818, allocations: 1.411 MB / 1.479 GB, free: 2.582 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6819, allocations: 8.031 kB / 1.479 GB, free: 2.574 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.6833, allocations: 267 kB / 1.479 GB, free: 2.312 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.6848, allocations: 0.7129 MB / 1.48 GB, free: 1.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.6848, allocations: 74 kB / 1.48 GB, free: 1.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.685, allocations: 99.88 kB / 1.48 GB, free: 1.402 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.6869, allocations: 1.302 MB / 1.481 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.687, allocations: 0 / 1.481 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6871, allocations: 43.88 kB / 1.481 GB, free: 15.95 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.6871, allocations: 38 kB / 1.481 GB, free: 15.92 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.6886, allocations: 0.8976 MB / 1.482 GB, free: 15.02 MB / 1.186 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.00528/0.6939, allocations: 3.994 MB / 1.486 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.6948, allocations: 0.5125 MB / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.6952, allocations: 290.6 kB / 1.487 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.6957, allocations: 80.34 kB / 1.487 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.6957, allocations: 38.94 kB / 1.487 GB, free: 9.973 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.6957, allocations: 0 / 1.487 GB, free: 9.973 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.00159/0.6973, allocations: 0.7992 MB / 1.488 GB, free: 9.172 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.6974, allocations: 55.84 kB / 1.488 GB, free: 9.102 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.6982, allocations: 0.6566 MB / 1.489 GB, free: 8.434 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.6983, allocations: 37.7 kB / 1.489 GB, free: 8.391 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.6987, allocations: 0.5271 MB / 1.489 GB, free: 7.855 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.6989, allocations: 186.4 kB / 1.489 GB, free: 7.672 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.6991, allocations: 142.6 kB / 1.489 GB, free: 7.523 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.6993, allocations: 390.7 kB / 1.49 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.6997, allocations: 245.9 kB / 1.49 GB, free: 6.895 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.7005, allocations: 0.8385 MB / 1.491 GB, free: 5.855 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7016, allocations: 0.7918 MB / 1.492 GB, free: 4.957 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7016, allocations: 0 / 1.492 GB, free: 4.957 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001336/0.703, allocations: 0.843 MB / 1.492 GB, free: 4.105 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.703, allocations: 8 kB / 1.492 GB, free: 4.098 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.703, allocations: 11.98 kB / 1.492 GB, free: 4.086 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.703, allocations: 16.03 kB / 1.492 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.7036, allocations: 155.7 kB / 1.493 GB, free: 3.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.7036, allocations: 15.94 kB / 1.493 GB, free: 3.902 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.7043, allocations: 87.94 kB / 1.493 GB, free: 3.816 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.7044, allocations: 35.98 kB / 1.493 GB, free: 3.781 MB / 1.186 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.0004855/0.7049, allocations: 333.9 kB / 1.493 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.705, allocations: 79.48 kB / 1.493 GB, free: 3.367 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.706, allocations: 0.6132 MB / 1.494 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7061, allocations: 4 kB / 1.494 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7061, allocations: 0 / 1.494 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007837/0.7068, allocations: 0.5212 MB / 1.494 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.7093, allocations: 1.444 MB / 1.496 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7093, allocations: 4 kB / 1.496 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.7099, allocations: 107.9 kB / 1.496 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.7099, allocations: 4 kB / 1.496 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.7099, allocations: 20.16 kB / 1.496 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.7099, allocations: 11.98 kB / 1.496 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7099, allocations: 3.938 kB / 1.496 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.7114, allocations: 1.004 MB / 1.497 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.7118, allocations: 139.4 kB / 1.497 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.7119, allocations: 15.94 kB / 1.497 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.7123, allocations: 19.98 kB / 1.497 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.7124, allocations: 31.89 kB / 1.497 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.7124, allocations: 23.98 kB / 1.497 GB, free: 15.29 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006165/0.7131, allocations: 443 kB / 1.497 GB, free: 14.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7131, allocations: 4 kB / 1.497 GB, free: 14.85 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009557/0.714, allocations: 307.3 kB / 1.498 GB, free: 14.55 MB / 1.201 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.0005028/0.7145, allocations: 200 kB / 1.498 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.7155, allocations: 0.5889 MB / 1.499 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7155, allocations: 7.938 kB / 1.499 GB, free: 13.76 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.716, allocations: 263.5 kB / 1.499 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.7176, allocations: 375.6 kB / 1.499 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.7208, allocations: 1.938 MB / 1.501 GB, free: 11.15 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.7214, allocations: 0.527 MB / 1.502 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008224/0.7222, allocations: 258.2 kB / 1.502 GB, free: 10.33 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.7224, allocations: 71.42 kB / 1.502 GB, free: 10.26 MB / 1.201 GB Notification: Performance of SimCode: time 1.543e-06/0.7225, allocations: 0 / 1.502 GB, free: 10.26 MB / 1.201 GB Notification: Performance of Templates: time 0.02883/0.7513, allocations: 15.99 MB / 1.517 GB, free: 10.66 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.155958699062467]