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.001024/0.001024, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009396/0.0009396, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9308/0.9308, allocations: 177.1 MB / 204.2 MB, free: 5.574 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.839/1.839, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] 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.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.41e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1484/0.1484, allocations: 151.9 MB / 0.9355 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006077/0.1545, allocations: 4.122 MB / 0.9395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008105/0.1553, allocations: 51.56 kB / 0.9396 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.1562, allocations: 289.9 kB / 0.9399 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1584, allocations: 1.282 MB / 0.9411 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.1599, allocations: 0.7987 MB / 0.9419 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1623, allocations: 2.584 MB / 0.9444 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1633, allocations: 0.8228 MB / 0.9452 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.1656, allocations: 1.567 MB / 0.9468 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009947/0.1666, allocations: 0.857 MB / 0.9476 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1667, allocations: 104 kB / 0.9477 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.1674, allocations: 431 kB / 0.9481 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.1679, allocations: 0.5454 MB / 0.9486 GB, free: 6.578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.1683, allocations: 455 kB / 0.9491 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1695, allocations: 1.215 MB / 0.9503 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1695, allocations: 0 / 0.9503 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1695, allocations: 0 / 0.9503 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.1695, allocations: 0 / 0.9503 GB, free: 4.914 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.001523/0.1711, allocations: 1.488 MB / 0.9517 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1711, allocations: 8.031 kB / 0.9517 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/0.1719, allocations: 343.2 kB / 0.952 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.1727, allocations: 0.7346 MB / 0.9528 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.1727, allocations: 74 kB / 0.9528 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.1728, allocations: 92 kB / 0.9529 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.1737, allocations: 0.958 MB / 0.9539 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1738, allocations: 0 / 0.9539 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.1738, allocations: 40 kB / 0.9539 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.1738, allocations: 33.98 kB / 0.9539 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.1744, allocations: 387.4 kB / 0.9543 GB, free: 0.5781 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.003192/0.1776, allocations: 4.695 MB / 0.9589 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.178, allocations: 285 kB / 0.9591 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1782, allocations: 145.7 kB / 0.9593 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.1784, allocations: 52.44 kB / 0.9593 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1784, allocations: 41.89 kB / 0.9594 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.1784, allocations: 3.938 kB / 0.9594 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.0007436/0.1792, allocations: 468.5 kB / 0.9598 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1792, allocations: 59.91 kB / 0.9599 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.1797, allocations: 0.6517 MB / 0.9605 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1797, allocations: 37.7 kB / 0.9606 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.18, allocations: 0.5767 MB / 0.9611 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1801, allocations: 186.5 kB / 0.9613 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1803, allocations: 148.2 kB / 0.9614 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1804, allocations: 0.5664 MB / 0.962 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1806, allocations: 93.94 kB / 0.9621 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.1811, allocations: 0.8038 MB / 0.9629 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.1816, allocations: 0.5915 MB / 0.9634 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1816, allocations: 0 / 0.9634 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006486/0.1823, allocations: 0.5831 MB / 0.964 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1823, allocations: 10.5 kB / 0.964 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1823, allocations: 8 kB / 0.964 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1823, allocations: 12 kB / 0.964 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.1826, allocations: 151.8 kB / 0.9642 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.1826, allocations: 19.92 kB / 0.9642 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.1829, allocations: 83.23 kB / 0.9643 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.183, allocations: 36.2 kB / 0.9643 GB, free: 5.66 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.0001772/0.1831, allocations: 216.3 kB / 0.9645 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.1832, allocations: 91.48 kB / 0.9646 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.1837, allocations: 381.6 kB / 0.965 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1837, allocations: 8 kB / 0.965 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1837, allocations: 0 / 0.965 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003207/0.184, allocations: 287.3 kB / 0.9653 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.1854, allocations: 1.213 MB / 0.9664 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1854, allocations: 4 kB / 0.9664 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.1857, allocations: 107.8 kB / 0.9666 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1857, allocations: 4 kB / 0.9666 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1857, allocations: 16 kB / 0.9666 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1857, allocations: 4 kB / 0.9666 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1857, allocations: 3.938 kB / 0.9666 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.1864, allocations: 0.6665 MB / 0.9672 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.1866, allocations: 139.3 kB / 0.9674 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.1866, allocations: 12.09 kB / 0.9674 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1868, allocations: 17.11 kB / 0.9674 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1869, allocations: 47.58 kB / 0.9674 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1869, allocations: 23.94 kB / 0.9675 GB, free: 2.293 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003056/0.1872, allocations: 407 kB / 0.9678 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1872, allocations: 0 / 0.9678 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005451/0.1878, allocations: 311.3 kB / 0.9681 GB, free: 1.594 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.0003783/0.1881, allocations: 167.6 kB / 0.9683 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.1886, allocations: 364.5 kB / 0.9687 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1886, allocations: 0 / 0.9687 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.1889, allocations: 160.5 kB / 0.9688 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.1899, allocations: 390.2 kB / 0.9692 GB, free: 0.5391 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.192, allocations: 1.655 MB / 0.9708 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.1921, allocations: 251.1 kB / 0.971 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.1926, allocations: 218.5 kB / 0.9712 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1927, allocations: 68.48 kB / 0.9713 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of SimCode: time 8.11e-07/0.1927, allocations: 0 / 0.9713 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of Templates: time 0.01809/0.2108, allocations: 15.07 MB / 0.986 GB, free: 15.57 MB / 0.948 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.738684641662985]