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.001527/0.001527, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001937/0.001937, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9921/0.9921, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.889/1.889, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.|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.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.874e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1421/0.1421, allocations: 151.9 MB / 0.9355 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007026/0.1492, allocations: 4.134 MB / 0.9395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1505, allocations: 51.56 kB / 0.9396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009945/0.1515, allocations: 282 kB / 0.9398 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.1551, allocations: 1.274 MB / 0.9411 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.1576, allocations: 0.8025 MB / 0.9419 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.1616, allocations: 2.588 MB / 0.9444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.1633, allocations: 0.8266 MB / 0.9452 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.167, allocations: 1.387 MB / 0.9466 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.1689, allocations: 0.8992 MB / 0.9474 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.1692, allocations: 108 kB / 0.9475 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1707, allocations: 0.5261 MB / 0.9481 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000725/0.1714, allocations: 0.5415 MB / 0.9486 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.1724, allocations: 467 kB / 0.949 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.175, allocations: 1.246 MB / 0.9503 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.175, allocations: 0 / 0.9503 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/0.175, allocations: 0 / 0.9503 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.549e-05/0.175, allocations: 7.922 kB / 0.9503 GB, free: 4.922 MB / 0.9011 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.001773/0.1768, allocations: 1.484 MB / 0.9517 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1768, allocations: 16.03 kB / 0.9517 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.1777, allocations: 355.2 kB / 0.9521 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.1787, allocations: 0.7638 MB / 0.9528 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.1787, allocations: 70 kB / 0.9529 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.1788, allocations: 96 kB / 0.953 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.1798, allocations: 0.9546 MB / 0.9539 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1798, allocations: 7.891 kB / 0.9539 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1799, allocations: 36 kB / 0.9539 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1799, allocations: 34 kB / 0.954 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1805, allocations: 387.4 kB / 0.9543 GB, free: 0.5391 MB / 0.9011 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.00328/0.1838, allocations: 4.695 MB / 0.9589 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.1842, allocations: 277.8 kB / 0.9592 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1844, allocations: 141.7 kB / 0.9593 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.1846, allocations: 60.38 kB / 0.9594 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1846, allocations: 45.83 kB / 0.9594 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=49): time 3.075e-06/0.1846, allocations: 0 / 0.9594 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.0008341/0.1855, allocations: 464.5 kB / 0.9599 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.1855, allocations: 55.91 kB / 0.9599 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.186, allocations: 0.6595 MB / 0.9606 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.186, allocations: 37.7 kB / 0.9606 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.1863, allocations: 0.5767 MB / 0.9612 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1864, allocations: 186.4 kB / 0.9613 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1866, allocations: 152.2 kB / 0.9615 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1867, allocations: 0.5664 MB / 0.962 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1869, allocations: 93.88 kB / 0.9621 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.1873, allocations: 0.8 MB / 0.9629 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.1878, allocations: 0.5837 MB / 0.9635 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1878, allocations: 4 kB / 0.9635 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006636/0.1885, allocations: 0.583 MB / 0.9641 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1885, allocations: 10.66 kB / 0.9641 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1885, allocations: 8 kB / 0.9641 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1885, allocations: 12 kB / 0.9641 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.1889, allocations: 151.8 kB / 0.9642 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.1889, allocations: 19.92 kB / 0.9643 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.1892, allocations: 71.83 kB / 0.9643 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.1892, allocations: 39.98 kB / 0.9644 GB, free: 5.637 MB / 0.9167 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.0002414/0.1895, allocations: 212.3 kB / 0.9646 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1896, allocations: 91.48 kB / 0.9646 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.1901, allocations: 377.6 kB / 0.965 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1901, allocations: 11.98 kB / 0.965 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1901, allocations: 0 / 0.965 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003413/0.1905, allocations: 283.3 kB / 0.9653 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.1919, allocations: 1.225 MB / 0.9665 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1919, allocations: 4 kB / 0.9665 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.1922, allocations: 107.9 kB / 0.9666 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1922, allocations: 4 kB / 0.9666 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.1922, allocations: 12 kB / 0.9666 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1923, allocations: 4 kB / 0.9666 GB, free: 3.215 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1923, allocations: 8.094 kB / 0.9666 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.1929, allocations: 0.6664 MB / 0.9673 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1931, allocations: 139.3 kB / 0.9674 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.1932, allocations: 12 kB / 0.9674 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.1935, allocations: 15.98 kB / 0.9674 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.1936, allocations: 43.59 kB / 0.9675 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.1936, allocations: 20 kB / 0.9675 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000463/0.1941, allocations: 411 kB / 0.9679 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1941, allocations: 0 / 0.9679 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009708/0.195, allocations: 307.3 kB / 0.9682 GB, free: 1.57 MB / 0.9167 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.0005212/0.1956, allocations: 174.5 kB / 0.9683 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.1963, allocations: 360.1 kB / 0.9687 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1963, allocations: 0 / 0.9687 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.1965, allocations: 158 kB / 0.9688 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.1981, allocations: 391.1 kB / 0.9692 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.2011, allocations: 1.652 MB / 0.9708 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2014, allocations: 259 kB / 0.9711 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006407/0.202, allocations: 214.5 kB / 0.9713 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.2022, allocations: 64.48 kB / 0.9713 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of SimCode: time 7.22e-07/0.2022, allocations: 4 kB / 0.9713 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of Templates: time 0.02452/0.2267, allocations: 14.21 MB / 0.9852 GB, free: 416 kB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7454551588743925]