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.001258/0.001258, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001226/0.001226, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.47/2.47, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.|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.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.715e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1335/0.1336, allocations: 151.4 MB / 0.9865 GB, free: 6.133 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1402, allocations: 5.051 MB / 0.9914 GB, free: 1.066 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.1408, allocations: 51.56 kB / 0.9915 GB, free: 1.016 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.1415, allocations: 285.9 kB / 0.9918 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.1434, allocations: 1.29 MB / 0.993 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1452, allocations: 1.016 MB / 0.994 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.1475, allocations: 2.599 MB / 0.9965 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.1491, allocations: 0.8815 MB / 0.9974 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.151, allocations: 1.552 MB / 0.9989 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008007/0.1518, allocations: 0.8063 MB / 0.9997 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1519, allocations: 108 kB / 0.9998 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.1527, allocations: 435 kB / 1 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.153, allocations: 0.5454 MB / 1.001 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.1534, allocations: 471 kB / 1.001 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1545, allocations: 1.23 MB / 1.002 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1545, allocations: 0 / 1.002 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1545, allocations: 0 / 1.002 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.1545, allocations: 3.938 kB / 1.002 GB, free: 5.871 MB / 0.9636 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.001243/0.1557, allocations: 1.339 MB / 1.004 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1558, allocations: 8.625 kB / 1.004 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.1565, allocations: 311.9 kB / 1.004 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.1573, allocations: 0.6371 MB / 1.005 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.1573, allocations: 81.98 kB / 1.005 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1575, allocations: 99.94 kB / 1.005 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1583, allocations: 0.8596 MB / 1.006 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1583, allocations: 7.984 kB / 1.006 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.1583, allocations: 40 kB / 1.006 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1584, allocations: 34 kB / 1.006 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1588, allocations: 321.9 kB / 1.006 GB, free: 1.98 MB / 0.9636 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.002689/0.1615, allocations: 3.418 MB / 1.009 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.1618, allocations: 291.5 kB / 1.01 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1619, allocations: 114.6 kB / 1.01 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.1621, allocations: 60.44 kB / 1.01 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1622, allocations: 39.06 kB / 1.01 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 1.913e-06/0.1622, allocations: 4 kB / 1.01 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.0006143/0.1628, allocations: 309.9 kB / 1.01 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1628, allocations: 63.84 kB / 1.01 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.1633, allocations: 0.5972 MB / 1.011 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1633, allocations: 37.7 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.1639, allocations: 457.1 kB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.164, allocations: 182.4 kB / 1.011 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1641, allocations: 158.5 kB / 1.012 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1643, allocations: 390.6 kB / 1.012 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1644, allocations: 72.8 kB / 1.012 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.1648, allocations: 0.6998 MB / 1.013 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.1652, allocations: 0.5389 MB / 1.013 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.1653, allocations: 7.938 kB / 1.013 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005296/0.1658, allocations: 480.4 kB / 1.014 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1658, allocations: 8 kB / 1.014 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1658, allocations: 12 kB / 1.014 GB, free: 9.516 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.1659, allocations: 12 kB / 1.014 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.1663, allocations: 183.7 kB / 1.014 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1663, allocations: 19.94 kB / 1.014 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.1667, allocations: 83.44 kB / 1.014 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.1667, allocations: 31.94 kB / 1.014 GB, free: 9.191 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (95): * Single equations (assignments): 95 * 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.0001822/0.1669, allocations: 176.4 kB / 1.014 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.167, allocations: 67.86 kB / 1.014 GB, free: 8.941 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.1674, allocations: 287 kB / 1.015 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1674, allocations: 4 kB / 1.015 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1674, allocations: 0 / 1.015 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001937/0.1676, allocations: 196.2 kB / 1.015 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.1685, allocations: 0.9187 MB / 1.016 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.1686, allocations: 4.047 kB / 1.016 GB, free: 7.461 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.169, allocations: 146.6 kB / 1.016 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.169, allocations: 4 kB / 1.016 GB, free: 7.312 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.169, allocations: 15.98 kB / 1.016 GB, free: 7.297 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.169, allocations: 4.219 kB / 1.016 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.169, allocations: 11.94 kB / 1.016 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.1695, allocations: 0.5243 MB / 1.016 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1696, allocations: 119.3 kB / 1.016 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1697, allocations: 8 kB / 1.016 GB, free: 6.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1699, allocations: 22.05 kB / 1.016 GB, free: 6.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.1699, allocations: 39.81 kB / 1.017 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.17, allocations: 12 kB / 1.017 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001934/0.1701, allocations: 268.5 kB / 1.017 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1701, allocations: 4 kB / 1.017 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005623/0.1707, allocations: 323.3 kB / 1.017 GB, free: 5.938 MB / 0.9792 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.0003163/0.171, allocations: 149.4 kB / 1.017 GB, free: 5.789 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.1716, allocations: 318.9 kB / 1.018 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.1716, allocations: 12.44 kB / 1.018 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1718, allocations: 122.7 kB / 1.018 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.1726, allocations: 406.4 kB / 1.018 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1745, allocations: 1.598 MB / 1.02 GB, free: 3.301 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.1746, allocations: 239.2 kB / 1.02 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.1749, allocations: 130.7 kB / 1.02 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.1755, allocations: 333 kB / 1.02 GB, free: 2.582 MB / 0.9792 GB Notification: Performance of SimCode: time 1.643e-06/0.1755, allocations: 0 / 1.02 GB, free: 2.582 MB / 0.9792 GB Notification: Performance of Templates: time 0.01848/0.1939, allocations: 15.57 MB / 1.036 GB, free: 3.387 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.966542977839708]