Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001187/0.001187, allocations: 87.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.001283/0.001283, allocations: 169 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.9981/0.9981, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.801/1.801, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.012e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1656/0.1656, allocations: 149.6 MB / 0.9332 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005008/0.1706, allocations: 3.248 MB / 0.9364 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.1714, allocations: 47.62 kB / 0.9364 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.1722, allocations: 246.1 kB / 0.9367 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.1737, allocations: 0.8974 MB / 0.9376 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1749, allocations: 0.7015 MB / 0.9382 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1768, allocations: 2.015 MB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.1775, allocations: 0.6374 MB / 0.9408 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.1793, allocations: 1.13 MB / 0.9419 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.1801, allocations: 0.6076 MB / 0.9425 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1802, allocations: 76 kB / 0.9426 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/0.1811, allocations: 391 kB / 0.943 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.1814, allocations: 418.8 kB / 0.9434 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.1817, allocations: 355.2 kB / 0.9437 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1831, allocations: 0.9538 MB / 0.9446 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1831, allocations: 0 / 0.9446 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1831, allocations: 0 / 0.9446 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.1831, allocations: 0 / 0.9446 GB, free: 10.64 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001423/0.1845, allocations: 1.263 MB / 0.9459 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1846, allocations: 12.03 kB / 0.9459 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.1853, allocations: 287.8 kB / 0.9462 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.1861, allocations: 0.6254 MB / 0.9468 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.1861, allocations: 62.12 kB / 0.9468 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.1862, allocations: 91.92 kB / 0.9469 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.1871, allocations: 0.8579 MB / 0.9478 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1871, allocations: 3.938 kB / 0.9478 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.1871, allocations: 32 kB / 0.9478 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.1872, allocations: 33.3 kB / 0.9478 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.1876, allocations: 299.4 kB / 0.9481 GB, free: 6.879 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.003321/0.191, allocations: 4.634 MB / 0.9526 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.1914, allocations: 317 kB / 0.9529 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1916, allocations: 127.5 kB / 0.9531 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1917, allocations: 24.31 kB / 0.9531 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1918, allocations: 45.7 kB / 0.9531 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=42): time 2.255e-06/0.1918, allocations: 4 kB / 0.9531 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.00156/0.1933, allocations: 1.113 MB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1934, allocations: 110.8 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.1938, allocations: 0.5415 MB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1939, allocations: 37.7 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1941, allocations: 486.8 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1942, allocations: 174.8 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1944, allocations: 127.8 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1945, allocations: 0.5508 MB / 0.9562 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1946, allocations: 69.27 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.1952, allocations: 497.6 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.1959, allocations: 0.6203 MB / 0.9573 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1959, allocations: 4 kB / 0.9573 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005452/0.1964, allocations: 472.3 kB / 0.9578 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1964, allocations: 8 kB / 0.9578 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1965, allocations: 4.781 kB / 0.9578 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1965, allocations: 12 kB / 0.9578 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1967, allocations: 123.8 kB / 0.9579 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1967, allocations: 11.94 kB / 0.9579 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.197, allocations: 31.88 kB / 0.958 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.197, allocations: 28 kB / 0.958 GB, free: 12.14 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001714/0.1972, allocations: 204.3 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.1973, allocations: 79.58 kB / 0.9583 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.1973, allocations: 74.25 kB / 0.9583 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1974, allocations: 8 kB / 0.9583 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1974, allocations: 0 / 0.9583 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003638/0.1977, allocations: 0.5424 MB / 0.9589 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1991, allocations: 1.389 MB / 0.9602 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1991, allocations: 12.02 kB / 0.9602 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1993, allocations: 103.9 kB / 0.9603 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.1993, allocations: 4 kB / 0.9603 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.1993, allocations: 12 kB / 0.9604 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1994, allocations: 11.94 kB / 0.9604 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1994, allocations: 4 kB / 0.9604 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.1999, allocations: 0.6569 MB / 0.961 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2001, allocations: 111.5 kB / 0.9611 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.2001, allocations: 12 kB / 0.9611 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2003, allocations: 16 kB / 0.9611 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.2004, allocations: 35.88 kB / 0.9612 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2004, allocations: 20 kB / 0.9612 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002458/0.2006, allocations: 342.8 kB / 0.9615 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2006, allocations: 3.938 kB / 0.9615 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004769/0.2011, allocations: 203.9 kB / 0.9617 GB, free: 8.023 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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.0003629/0.2015, allocations: 162.6 kB / 0.9619 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.2019, allocations: 293.7 kB / 0.9622 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2019, allocations: 0 / 0.9622 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.202, allocations: 131.7 kB / 0.9623 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.2029, allocations: 351.5 kB / 0.9626 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.205, allocations: 1.488 MB / 0.9641 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.2052, allocations: 214.3 kB / 0.9643 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.2055, allocations: 145.3 kB / 0.9644 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2056, allocations: 56.48 kB / 0.9645 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of SimCode: time 1.853e-06/0.2056, allocations: 0 / 0.9645 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of Templates: time 0.01595/0.2216, allocations: 12.64 MB / 0.9768 GB, free: 8.781 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.693155236076564]