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.001296/0.001296, 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.001063/0.001063, allocations: 161.4 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.9554/0.9554, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.463e-06/1.463e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.515e-05, allocations: 2.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1427/0.1427, allocations: 151.3 MB / 0.9078 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004859/0.1476, allocations: 4.18 MB / 0.9119 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.148, allocations: 51.56 kB / 0.9119 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.1485, allocations: 289.9 kB / 0.9122 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.1501, allocations: 1.278 MB / 0.9134 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.151, allocations: 0.7987 MB / 0.9142 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1526, allocations: 2.572 MB / 0.9167 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.1534, allocations: 0.8351 MB / 0.9176 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.1551, allocations: 1.549 MB / 0.9191 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.1557, allocations: 0.7907 MB / 0.9198 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1558, allocations: 104 kB / 0.9199 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.1563, allocations: 435 kB / 0.9204 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.1566, allocations: 0.5337 MB / 0.9209 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.157, allocations: 459 kB / 0.9213 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.1579, allocations: 1.215 MB / 0.9225 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.158, allocations: 4 kB / 0.9225 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.002e-06/0.158, allocations: 0 / 0.9225 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.026e-06/0.158, allocations: 0 / 0.9225 GB, free: 15.88 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.001129/0.1591, allocations: 1.324 MB / 0.9238 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.1591, allocations: 8.031 kB / 0.9238 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.1598, allocations: 311.9 kB / 0.9241 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006842/0.1605, allocations: 0.6254 MB / 0.9247 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.1605, allocations: 70 kB / 0.9248 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.1606, allocations: 99.98 kB / 0.9249 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.1613, allocations: 0.8752 MB / 0.9257 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1613, allocations: 4 kB / 0.9257 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1613, allocations: 36 kB / 0.9258 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.1614, allocations: 34 kB / 0.9258 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.1617, allocations: 318 kB / 0.9261 GB, free: 12.02 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.002483/0.1642, allocations: 3.398 MB / 0.9294 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1645, allocations: 293.1 kB / 0.9297 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1646, allocations: 105.7 kB / 0.9298 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.1648, allocations: 64.44 kB / 0.9299 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1648, allocations: 43 kB / 0.9299 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 1.653e-06/0.1648, allocations: 0 / 0.9299 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.000474/0.1653, allocations: 313.9 kB / 0.9302 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1653, allocations: 59.91 kB / 0.9303 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.1657, allocations: 0.5622 MB / 0.9308 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1657, allocations: 37.7 kB / 0.9308 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1659, allocations: 445 kB / 0.9313 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.166, allocations: 186.4 kB / 0.9314 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1662, allocations: 142.5 kB / 0.9316 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1663, allocations: 390.6 kB / 0.932 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.1664, allocations: 72.8 kB / 0.932 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1666, allocations: 0.6317 MB / 0.9326 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.167, allocations: 468.2 kB / 0.9331 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.167, allocations: 7.938 kB / 0.9331 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004143/0.1674, allocations: 439.5 kB / 0.9335 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1674, allocations: 8 kB / 0.9335 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1674, allocations: 8.844 kB / 0.9335 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1674, allocations: 12 kB / 0.9335 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.1677, allocations: 151.8 kB / 0.9337 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1677, allocations: 15.94 kB / 0.9337 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.168, allocations: 84.11 kB / 0.9338 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.168, allocations: 32 kB / 0.9338 GB, free: 3.602 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.000152/0.1682, allocations: 160.4 kB / 0.934 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.1683, allocations: 63.92 kB / 0.934 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1686, allocations: 286.7 kB / 0.9343 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1686, allocations: 8 kB / 0.9343 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1686, allocations: 0 / 0.9343 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/0.1687, allocations: 200.2 kB / 0.9345 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008554/0.1696, allocations: 0.8956 MB / 0.9354 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1696, allocations: 0 / 0.9354 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.1699, allocations: 112.1 kB / 0.9355 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1699, allocations: 8 kB / 0.9355 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1699, allocations: 15.94 kB / 0.9355 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1699, allocations: 7.938 kB / 0.9355 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1699, allocations: 0 / 0.9355 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.1704, allocations: 0.5407 MB / 0.936 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1706, allocations: 107.3 kB / 0.9361 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.1706, allocations: 15.98 kB / 0.9362 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1708, allocations: 16 kB / 0.9362 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1709, allocations: 39.88 kB / 0.9362 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1709, allocations: 12 kB / 0.9362 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1711, allocations: 260.5 kB / 0.9365 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1711, allocations: 0 / 0.9365 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004914/0.1716, allocations: 307.3 kB / 0.9368 GB, free: 456 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.0003221/0.1719, allocations: 162.7 kB / 0.9369 GB, free: 296 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1723, allocations: 290.3 kB / 0.9372 GB, free: 4 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-05/0.1723, allocations: 9.172 kB / 0.9372 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1724, allocations: 129.7 kB / 0.9373 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.1733, allocations: 407.6 kB / 0.9377 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1749, allocations: 1.563 MB / 0.9392 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.1751, allocations: 247.1 kB / 0.9395 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.1754, allocations: 126.7 kB / 0.9396 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.1758, allocations: 325.1 kB / 0.9399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.1758, allocations: 0 / 0.9399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of Templates: time 0.01656/0.1924, allocations: 15.41 MB / 0.955 GB, free: 14.13 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 -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.323054983280599]