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.00101/0.00101, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001263/0.001263, allocations: 165 kB / 24.16 MB, free: 332 kB / 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.9922/0.9922, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.976/1.976, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.705e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1471/0.1471, allocations: 151.3 MB / 0.9079 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005947/0.153, allocations: 4.184 MB / 0.912 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.1538, allocations: 51.56 kB / 0.912 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.1545, allocations: 282 kB / 0.9123 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.1565, allocations: 1.282 MB / 0.9135 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1578, allocations: 0.787 MB / 0.9143 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.1603, allocations: 2.574 MB / 0.9168 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.1619, allocations: 0.9079 MB / 0.9177 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.1641, allocations: 1.53 MB / 0.9192 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.1651, allocations: 0.7947 MB / 0.92 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1653, allocations: 104 kB / 0.9201 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.166, allocations: 443 kB / 0.9205 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.1664, allocations: 0.5415 MB / 0.921 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.1668, allocations: 459 kB / 0.9215 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1681, allocations: 1.211 MB / 0.9226 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1681, allocations: 0 / 0.9226 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1681, allocations: 0 / 0.9226 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.1681, allocations: 0 / 0.9226 GB, free: 15.77 MB / 0.8855 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.00141/0.1695, allocations: 1.316 MB / 0.9239 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1695, allocations: 12.03 kB / 0.9239 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.1704, allocations: 319.9 kB / 0.9242 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.1711, allocations: 0.6254 MB / 0.9249 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1712, allocations: 70 kB / 0.9249 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1713, allocations: 96 kB / 0.925 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.172, allocations: 0.8674 MB / 0.9259 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.1721, allocations: 7.938 kB / 0.9259 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.1721, allocations: 39.98 kB / 0.9259 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.1721, allocations: 34 kB / 0.9259 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1726, allocations: 314 kB / 0.9262 GB, free: 11.92 MB / 0.8855 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.003002/0.1756, allocations: 3.41 MB / 0.9296 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1759, allocations: 285.2 kB / 0.9298 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.176, allocations: 105.7 kB / 0.9299 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.1762, allocations: 64.42 kB / 0.93 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1762, allocations: 39.06 kB / 0.93 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 2.524e-06/0.1762, allocations: 0 / 0.93 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.0007329/0.177, allocations: 317.9 kB / 0.9303 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.177, allocations: 55.91 kB / 0.9304 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.1774, allocations: 0.5661 MB / 0.931 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.1774, allocations: 37.7 kB / 0.931 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1776, allocations: 449 kB / 0.9314 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.1777, allocations: 186.4 kB / 0.9316 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1779, allocations: 134.5 kB / 0.9317 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.178, allocations: 390.6 kB / 0.9321 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1781, allocations: 72.8 kB / 0.9322 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1784, allocations: 0.6317 MB / 0.9328 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.1788, allocations: 472.2 kB / 0.9332 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.1789, allocations: 7.938 kB / 0.9332 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000498/0.1793, allocations: 436.3 kB / 0.9337 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1794, allocations: 8 kB / 0.9337 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1794, allocations: 8 kB / 0.9337 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1794, allocations: 16.06 kB / 0.9337 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.1798, allocations: 159.7 kB / 0.9338 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1798, allocations: 15.94 kB / 0.9339 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1801, allocations: 80.12 kB / 0.9339 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.1802, allocations: 31.98 kB / 0.934 GB, free: 3.492 MB / 0.8855 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.0001691/0.1803, allocations: 164.4 kB / 0.9341 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1804, allocations: 67.88 kB / 0.9342 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.1808, allocations: 294.7 kB / 0.9345 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1808, allocations: 4 kB / 0.9345 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1808, allocations: 0 / 0.9345 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002033/0.181, allocations: 200.2 kB / 0.9347 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.182, allocations: 0.8997 MB / 0.9355 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.182, allocations: 4.031 kB / 0.9355 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1824, allocations: 142.6 kB / 0.9357 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1824, allocations: 4 kB / 0.9357 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1824, allocations: 16 kB / 0.9357 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1824, allocations: 0 / 0.9357 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1824, allocations: 7.938 kB / 0.9357 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.1829, allocations: 0.5396 MB / 0.9362 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.183, allocations: 111.3 kB / 0.9363 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.1831, allocations: 11.98 kB / 0.9363 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1833, allocations: 12 kB / 0.9364 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1833, allocations: 39.81 kB / 0.9364 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1833, allocations: 16 kB / 0.9364 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001896/0.1835, allocations: 256.5 kB / 0.9367 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1835, allocations: 4 kB / 0.9367 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007673/0.1843, allocations: 311.3 kB / 0.937 GB, free: 292 kB / 0.8855 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.0003175/0.1846, allocations: 157.3 kB / 0.9371 GB, free: 140 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.185, allocations: 297.8 kB / 0.9374 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.185, allocations: 8.5 kB / 0.9374 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1851, allocations: 125.7 kB / 0.9375 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.186, allocations: 406.8 kB / 0.9379 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1878, allocations: 1.571 MB / 0.9394 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.1879, allocations: 239.1 kB / 0.9397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.1882, allocations: 122.7 kB / 0.9398 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.1888, allocations: 329 kB / 0.9401 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of SimCode: time 6.11e-07/0.1888, allocations: 4 kB / 0.9401 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of Templates: time 0.01959/0.2084, allocations: 15.5 MB / 0.9552 GB, free: 13.88 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.565029113087803]