Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001417/0.001417, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001182/0.001182, allocations: 169.3 kB / 24.28 MB, free: 280 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.9695/0.9695, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.887/1.887, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 4 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/2.004e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1592/0.1592, allocations: 178.6 MB / 0.986 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006697/0.1659, allocations: 5.475 MB / 0.9913 GB, free: 9.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.1663, allocations: 51.62 kB / 0.9914 GB, free: 9.289 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009227/0.1673, allocations: 425.2 kB / 0.9918 GB, free: 8.871 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.17, allocations: 1.792 MB / 0.9935 GB, free: 7.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1713, allocations: 0.8415 MB / 0.9944 GB, free: 6.227 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.1732, allocations: 2.273 MB / 0.9966 GB, free: 3.941 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.1738, allocations: 0.561 MB / 0.9971 GB, free: 3.371 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1752, allocations: 1.243 MB / 0.9983 GB, free: 2.125 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.1764, allocations: 0.6869 MB / 0.999 GB, free: 1.473 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.1765, allocations: 76 kB / 0.9991 GB, free: 1.398 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1779, allocations: 1.164 MB / 1 GB, free: 236 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.1782, allocations: 354.9 kB / 1.001 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.1785, allocations: 339.3 kB / 1.001 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1797, allocations: 1.269 MB / 1.002 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1797, allocations: 4 kB / 1.002 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1797, allocations: 4 kB / 1.002 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1798, allocations: 0 / 1.002 GB, free: 14.27 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001165/0.1809, allocations: 1.234 MB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.181, allocations: 8.031 kB / 1.003 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.182, allocations: 350.8 kB / 1.004 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/0.1827, allocations: 0.6568 MB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1827, allocations: 41.31 kB / 1.004 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.1828, allocations: 67.94 kB / 1.004 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.1834, allocations: 0.5711 MB / 1.005 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1834, allocations: 0 / 1.005 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.1834, allocations: 24 kB / 1.005 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.1835, allocations: 29.3 kB / 1.005 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.1838, allocations: 223.6 kB / 1.005 GB, free: 10.95 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.001629/0.1854, allocations: 1.461 MB / 1.007 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.1858, allocations: 259.4 kB / 1.007 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.186, allocations: 103.6 kB / 1.007 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1861, allocations: 23.98 kB / 1.007 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1861, allocations: 49.27 kB / 1.007 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.1861, allocations: 0 / 1.007 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.001552/0.1877, allocations: 0.9497 MB / 1.008 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1877, allocations: 59.84 kB / 1.008 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1881, allocations: 490.7 kB / 1.009 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1881, allocations: 37.7 kB / 1.009 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1883, allocations: 395.6 kB / 1.009 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.1884, allocations: 178.5 kB / 1.009 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.1885, allocations: 95.8 kB / 1.009 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1886, allocations: 0.543 MB / 1.01 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1887, allocations: 64.95 kB / 1.01 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1889, allocations: 277.7 kB / 1.01 GB, free: 5.789 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.1896, allocations: 0.5264 MB / 1.011 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1896, allocations: 3.938 kB / 1.011 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003992/0.19, allocations: 345.1 kB / 1.011 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.19, allocations: 7.984 kB / 1.011 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.19, allocations: 4 kB / 1.011 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.19, allocations: 4 kB / 1.011 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1903, allocations: 92.06 kB / 1.011 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1903, allocations: 4 kB / 1.011 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1905, allocations: 26.17 kB / 1.011 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1905, allocations: 19.94 kB / 1.011 GB, free: 4.742 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0001464/0.1907, allocations: 192.5 kB / 1.011 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.1908, allocations: 79.62 kB / 1.011 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.1908, allocations: 65.83 kB / 1.011 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1908, allocations: 4 kB / 1.011 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1908, allocations: 7.922 kB / 1.011 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003207/0.1912, allocations: 344.4 kB / 1.012 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.1924, allocations: 1.233 MB / 1.013 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1924, allocations: 4 kB / 1.013 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1926, allocations: 111.9 kB / 1.013 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1927, allocations: 7.938 kB / 1.013 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1927, allocations: 20 kB / 1.013 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1927, allocations: 7.984 kB / 1.013 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1927, allocations: 11.94 kB / 1.013 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.1933, allocations: 0.7224 MB / 1.014 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1934, allocations: 115.5 kB / 1.014 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.1935, allocations: 19.98 kB / 1.014 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1937, allocations: 20 kB / 1.014 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.1938, allocations: 43.81 kB / 1.014 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1938, allocations: 23.98 kB / 1.014 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002106/0.194, allocations: 318.8 kB / 1.014 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.194, allocations: 0 / 1.014 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003969/0.1944, allocations: 204 kB / 1.014 GB, free: 0.9414 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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.0002281/0.1946, allocations: 181.8 kB / 1.015 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005513/0.1952, allocations: 259.1 kB / 1.015 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1952, allocations: 0 / 1.015 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1954, allocations: 153.1 kB / 1.015 GB, free: 356 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1964, allocations: 454.7 kB / 1.015 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.198, allocations: 1.393 MB / 1.017 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.1981, allocations: 191.2 kB / 1.017 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.1984, allocations: 137.2 kB / 1.017 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1985, allocations: 52.5 kB / 1.017 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/0.1985, allocations: 4 kB / 1.017 GB, free: 14 MB / 0.9792 GB Notification: Performance of Templates: time 0.01519/0.2137, allocations: 14.67 MB / 1.032 GB, free: 15.71 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.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.6189431911334395]