Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.0009615/0.0009615, allocations: 81.95 kB / 21.47 MB, free: 3.039 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.001024/0.001024, allocations: 166.2 kB / 24.87 MB, free: 9.293 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.862/1.862, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.916e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1524/0.1524, allocations: 152.6 MB / 0.9618 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.1581, allocations: 3.849 MB / 0.9656 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.1591, allocations: 55.5 kB / 0.9657 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.1598, allocations: 309.8 kB / 0.966 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.1618, allocations: 1.185 MB / 0.9671 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1633, allocations: 0.9081 MB / 0.968 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.1664, allocations: 2.983 MB / 0.9709 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1675, allocations: 0.8089 MB / 0.9717 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.1703, allocations: 1.669 MB / 0.9733 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1715, allocations: 0.8452 MB / 0.9742 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.1717, allocations: 108 kB / 0.9743 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.1726, allocations: 411 kB / 0.9746 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.1729, allocations: 0.4908 MB / 0.9751 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.1734, allocations: 475 kB / 0.9756 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1748, allocations: 1.195 MB / 0.9767 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1748, allocations: 4 kB / 0.9768 GB, free: 9.016 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1748, allocations: 0 / 0.9768 GB, free: 9.016 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.1749, allocations: 0 / 0.9768 GB, free: 9.016 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001587/0.1764, allocations: 1.488 MB / 0.9782 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1765, allocations: 8.031 kB / 0.9782 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1775, allocations: 407.4 kB / 0.9786 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.1784, allocations: 0.7501 MB / 0.9793 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.1784, allocations: 70.12 kB / 0.9794 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.1785, allocations: 92 kB / 0.9795 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.1792, allocations: 0.9361 MB / 0.9804 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1793, allocations: 0 / 0.9804 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.1793, allocations: 36 kB / 0.9804 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.1794, allocations: 41.92 kB / 0.9805 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.1797, allocations: 277.7 kB / 0.9807 GB, free: 4.742 MB / 0.9323 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.002693/0.1824, allocations: 2.194 MB / 0.9829 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1827, allocations: 244.5 kB / 0.9831 GB, free: 2.242 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1828, allocations: 108.3 kB / 0.9832 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.1829, allocations: 36.3 kB / 0.9833 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.183, allocations: 41.77 kB / 0.9833 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.183, allocations: 0 / 0.9833 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001445/0.1844, allocations: 0.8341 MB / 0.9841 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1844, allocations: 55.91 kB / 0.9842 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.1849, allocations: 0.6201 MB / 0.9848 GB, free: 484 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1849, allocations: 41.69 kB / 0.9848 GB, free: 436 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.1852, allocations: 0.5493 MB / 0.9853 GB, free: 15.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1853, allocations: 178.5 kB / 0.9855 GB, free: 15.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1854, allocations: 123.9 kB / 0.9856 GB, free: 15.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1856, allocations: 0.5585 MB / 0.9862 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1857, allocations: 65.25 kB / 0.9862 GB, free: 14.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1859, allocations: 285.9 kB / 0.9865 GB, free: 14.58 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.1864, allocations: 0.4976 MB / 0.987 GB, free: 14.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1864, allocations: 4 kB / 0.987 GB, free: 14.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004775/0.1869, allocations: 436.2 kB / 0.9874 GB, free: 13.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1869, allocations: 8.406 kB / 0.9874 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1869, allocations: 11.94 kB / 0.9874 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.187, allocations: 43.34 kB / 0.9875 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.1874, allocations: 135.8 kB / 0.9876 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1891, allocations: 3.478 MB / 0.991 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.1895, allocations: 27.94 kB / 0.991 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1895, allocations: 16 kB / 0.991 GB, free: 9.625 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.1898, allocations: 196.4 kB / 0.9912 GB, free: 9.422 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1899, allocations: 91.53 kB / 0.9913 GB, free: 9.332 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.054e-05/0.19, allocations: 87.36 kB / 0.9914 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.19, allocations: 8.062 kB / 0.9914 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.19, allocations: 0 / 0.9914 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003939/0.1904, allocations: 0.5463 MB / 0.9919 GB, free: 8.598 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1916, allocations: 1.111 MB / 0.993 GB, free: 7.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1916, allocations: 4 kB / 0.993 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.1919, allocations: 115.8 kB / 0.9931 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.119e-05/0.192, allocations: 27.61 kB / 0.9932 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.192, allocations: 16 kB / 0.9932 GB, free: 7.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/0.1928, allocations: 1.749 MB / 0.9949 GB, free: 5.367 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1928, allocations: 12.02 kB / 0.9949 GB, free: 5.355 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1934, allocations: 0.6608 MB / 0.9956 GB, free: 4.613 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.1936, allocations: 127.5 kB / 0.9957 GB, free: 4.488 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.1936, allocations: 15.94 kB / 0.9957 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.1939, allocations: 29.55 kB / 0.9957 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.194, allocations: 43.88 kB / 0.9958 GB, free: 4.402 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.194, allocations: 27.97 kB / 0.9958 GB, free: 4.375 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002355/0.1943, allocations: 382.9 kB / 0.9962 GB, free: 4.004 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1943, allocations: 0 / 0.9962 GB, free: 4.004 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006326/0.1949, allocations: 268 kB / 0.9964 GB, free: 3.742 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.1952, allocations: 155 kB / 0.9966 GB, free: 3.582 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.1958, allocations: 0.6124 MB / 0.9972 GB, free: 2.934 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1958, allocations: 0 / 0.9972 GB, free: 2.934 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.196, allocations: 315.9 kB / 0.9975 GB, free: 2.605 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.1972, allocations: 0.4953 MB / 0.9979 GB, free: 2.125 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1991, allocations: 1.61 MB / 0.9995 GB, free: 428 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.1993, allocations: 232.1 kB / 0.9997 GB, free: 176 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.1997, allocations: 130.4 kB / 0.9999 GB, free: 40 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.2004, allocations: 465.8 kB / 1 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of SimCode: time 1.233e-06/0.2004, allocations: 4 kB / 1 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of Templates: time 0.02615/0.2265, allocations: 19.32 MB / 1.019 GB, free: 12.73 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.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.717780297622085]