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.0007385/0.0007385, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001771, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006946/0.0006946, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000923/0.001618, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9902/0.9902, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.379/2.379, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2369/2.615, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.072e-06/1.072e-06, allocations: 0 / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.171e-05, allocations: 5.125 kB / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1297/0.1297, allocations: 151.9 MB / 0.9673 GB, free: 9.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007392/0.1371, allocations: 6.399 MB / 0.9735 GB, free: 3.562 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.1376, allocations: 59.5 kB / 0.9736 GB, free: 3.504 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.1384, allocations: 290 kB / 0.9739 GB, free: 3.219 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1402, allocations: 1.282 MB / 0.9751 GB, free: 1.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1423, allocations: 1.409 MB / 0.9765 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.1442, allocations: 2.608 MB / 0.979 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.1454, allocations: 0.8879 MB / 0.9799 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.1472, allocations: 1.643 MB / 0.9815 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007562/0.148, allocations: 0.8063 MB / 0.9823 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1481, allocations: 108 kB / 0.9824 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.1487, allocations: 435.1 kB / 0.9828 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.149, allocations: 482.8 kB / 0.9833 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.1494, allocations: 391.2 kB / 0.9836 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1504, allocations: 1.129 MB / 0.9847 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.1504, allocations: 0 / 0.9847 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1504, allocations: 0 / 0.9847 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.1505, allocations: 0 / 0.9847 GB, free: 8.125 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.001476/0.1519, allocations: 1.624 MB / 0.9863 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.152, allocations: 12.03 kB / 0.9863 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.1528, allocations: 384.4 kB / 0.9867 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1535, allocations: 0.641 MB / 0.9873 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.1535, allocations: 77.94 kB / 0.9874 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1536, allocations: 107.9 kB / 0.9875 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1543, allocations: 0.8673 MB / 0.9884 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1544, allocations: 7.938 kB / 0.9884 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.1544, allocations: 40 kB / 0.9884 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.1545, allocations: 41.98 kB / 0.9884 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.1549, allocations: 318 kB / 0.9887 GB, free: 3.836 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.002615/0.1575, allocations: 3.442 MB / 0.9921 GB, free: 284 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1578, allocations: 261.3 kB / 0.9924 GB, free: 4 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1579, allocations: 114.8 kB / 0.9925 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.158, allocations: 56.39 kB / 0.9925 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1581, allocations: 47.05 kB / 0.9926 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.1581, allocations: 0 / 0.9926 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.0004912/0.1586, allocations: 310 kB / 0.9929 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1586, allocations: 59.91 kB / 0.9929 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.159, allocations: 0.5894 MB / 0.9935 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.159, allocations: 37.7 kB / 0.9935 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1592, allocations: 457.1 kB / 0.994 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.1593, allocations: 186.4 kB / 0.9941 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1594, allocations: 150.5 kB / 0.9943 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002962/0.1597, allocations: 402.5 kB / 0.9947 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1598, allocations: 80.72 kB / 0.9947 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.1602, allocations: 0.6998 MB / 0.9954 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1606, allocations: 0.5506 MB / 0.996 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1606, allocations: 4 kB / 0.996 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0004932/0.1611, allocations: 487.6 kB / 0.9964 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1611, allocations: 11.94 kB / 0.9964 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1611, allocations: 8 kB / 0.9965 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1612, allocations: 16.81 kB / 0.9965 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.1616, allocations: 195.7 kB / 0.9967 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1616, allocations: 23.92 kB / 0.9967 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1619, allocations: 91.12 kB / 0.9968 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.162, allocations: 35.98 kB / 0.9968 GB, free: 11 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.000156/0.1621, allocations: 168.4 kB / 0.997 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.1622, allocations: 59.94 kB / 0.997 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.1625, allocations: 287 kB / 0.9973 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1626, allocations: 8 kB / 0.9973 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1626, allocations: 4 kB / 0.9973 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001797/0.1627, allocations: 208.2 kB / 0.9975 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.1636, allocations: 0.8997 MB / 0.9984 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1636, allocations: 0 / 0.9984 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.164, allocations: 150.9 kB / 0.9985 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1642, allocations: 119.2 kB / 0.9986 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1642, allocations: 7.938 kB / 0.9986 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1642, allocations: 12 kB / 0.9987 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1642, allocations: 7.984 kB / 0.9987 GB, free: 8.996 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1642, allocations: 4 kB / 0.9987 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1646, allocations: 0.5437 MB / 0.9992 GB, free: 8.406 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.1647, allocations: 8 kB / 0.9992 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1649, allocations: 19.98 kB / 0.9992 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1649, allocations: 31.94 kB / 0.9993 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1649, allocations: 12 kB / 0.9993 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001796/0.1651, allocations: 268.5 kB / 0.9995 GB, free: 8.078 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1651, allocations: 0 / 0.9995 GB, free: 8.078 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004711/0.1656, allocations: 319.3 kB / 0.9998 GB, free: 7.766 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.0003591/0.166, allocations: 169.4 kB / 1 GB, free: 7.605 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.1663, allocations: 335 kB / 1 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/0.1663, allocations: 14.75 kB / 1 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.1665, allocations: 157.7 kB / 1 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.1682, allocations: 2.565 MB / 1.003 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.1728, allocations: 1.688 MB / 1.005 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.1729, allocations: 247.1 kB / 1.005 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.1732, allocations: 126.7 kB / 1.005 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.1738, allocations: 337 kB / 1.005 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of SimCode: time 8.22e-07/0.1738, allocations: 0 / 1.005 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of Templates: time 0.01909/0.1928, allocations: 16.34 MB / 1.021 GB, free: 1.645 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.741764275357127]