Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001177/0.001177, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00119/0.00119, allocations: 169 kB / 24.28 MB, free: 276 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.07e-05, allocations: 6.25 kB / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1539/0.1539, allocations: 184.2 MB / 0.9914 GB, free: 9.277 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1655, allocations: 13.39 MB / 1.004 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.1663, allocations: 43.62 kB / 1.005 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1673, allocations: 417.2 kB / 1.005 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1689, allocations: 0.9752 MB / 1.006 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1702, allocations: 0.774 MB / 1.007 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1714, allocations: 1.512 MB / 1.008 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.172, allocations: 0.5031 MB / 1.009 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.1747, allocations: 2.051 MB / 1.011 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.1755, allocations: 483.5 kB / 1.011 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.1756, allocations: 52 kB / 1.011 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.1765, allocations: 0.7285 MB / 1.012 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1767, allocations: 299.1 kB / 1.012 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1769, allocations: 263.3 kB / 1.012 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1779, allocations: 0.9382 MB / 1.013 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1779, allocations: 0 / 1.013 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1779, allocations: 4 kB / 1.013 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.178, allocations: 0 / 1.013 GB, free: 2.824 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001129/0.1791, allocations: 1.09 MB / 1.014 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1791, allocations: 11.97 kB / 1.014 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.1798, allocations: 239.1 kB / 1.015 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.1804, allocations: 0.515 MB / 1.015 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1804, allocations: 53.31 kB / 1.015 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.1805, allocations: 59.94 kB / 1.015 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.1812, allocations: 0.7123 MB / 1.016 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1812, allocations: 3.938 kB / 1.016 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.1812, allocations: 24 kB / 1.016 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.1813, allocations: 21 kB / 1.016 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.1816, allocations: 241.3 kB / 1.016 GB, free: 15.64 MB / 0.9792 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.002643/0.1842, allocations: 5.338 MB / 1.021 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.1843, allocations: 116.2 kB / 1.021 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1844, allocations: 58.86 kB / 1.022 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.1845, allocations: 19.98 kB / 1.022 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1845, allocations: 37.39 kB / 1.022 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1845, allocations: 0 / 1.022 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of matching and sorting (n=10): time 0.0003245/0.1848, allocations: 153.2 kB / 1.022 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1849, allocations: 128.5 kB / 1.022 GB, free: 9.484 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.1853, allocations: 0.5845 MB / 1.022 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1853, allocations: 29.7 kB / 1.022 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1856, allocations: 482.6 kB / 1.023 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1856, allocations: 43.72 kB / 1.023 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.1857, allocations: 91.64 kB / 1.023 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1858, allocations: 0.5352 MB / 1.024 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.1859, allocations: 36.72 kB / 1.024 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1862, allocations: 0.5383 MB / 1.024 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1865, allocations: 428.6 kB / 1.025 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1865, allocations: 7.938 kB / 1.025 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003772/0.1869, allocations: 357.8 kB / 1.025 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1869, allocations: 12 kB / 1.025 GB, free: 5.969 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1869, allocations: 8 kB / 1.025 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.187, allocations: 12 kB / 1.025 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1871, allocations: 91.83 kB / 1.025 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1871, allocations: 15.94 kB / 1.025 GB, free: 5.844 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1874, allocations: 71.64 kB / 1.025 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1874, allocations: 31.98 kB / 1.025 GB, free: 5.742 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.000126/0.1875, allocations: 188.3 kB / 1.025 GB, free: 5.547 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.1876, allocations: 59.67 kB / 1.025 GB, free: 5.488 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.1876, allocations: 48.12 kB / 1.025 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1876, allocations: 3.984 kB / 1.025 GB, free: 5.434 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1877, allocations: 4 kB / 1.025 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1877, allocations: 128 / 1.025 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/0.1885, allocations: 1.186 MB / 1.027 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1885, allocations: 0 / 1.027 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.1886, allocations: 23.92 kB / 1.027 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1886, allocations: 4 kB / 1.027 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1886, allocations: 4 kB / 1.027 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1886, allocations: 3.938 kB / 1.027 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1886, allocations: 4 kB / 1.027 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1888, allocations: 241.5 kB / 1.027 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.1889, allocations: 75.59 kB / 1.027 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.1889, allocations: 3.984 kB / 1.027 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.189, allocations: 11.94 kB / 1.027 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.189, allocations: 15.98 kB / 1.027 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.189, allocations: 4 kB / 1.027 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002471/0.1893, allocations: 358.8 kB / 1.027 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 1.027 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003648/0.1897, allocations: 183.4 kB / 1.027 GB, free: 3.184 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0003609/0.19, allocations: 196.2 kB / 1.028 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1902, allocations: 153.2 kB / 1.028 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1902, allocations: 4.062 kB / 1.028 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.1903, allocations: 39.55 kB / 1.028 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1908, allocations: 218.8 kB / 1.028 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1923, allocations: 0.9888 MB / 1.029 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1924, allocations: 165.2 kB / 1.029 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.1926, allocations: 100.5 kB / 1.029 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1926, allocations: 36.5 kB / 1.029 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of SimCode: time 8.02e-07/0.1926, allocations: 0 / 1.029 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of Templates: time 0.01007/0.2027, allocations: 7.719 MB / 1.037 GB, free: 9.738 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.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: 6.00736963795498]