Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001084/0.001084, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001629/0.001629, allocations: 161 kB / 23.82 MB, free: 0.7539 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.05/1.05, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.984/1.984, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.803e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1574/0.1575, allocations: 151 MB / 0.959 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006796/0.1643, allocations: 3.849 MB / 0.9628 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.1656, allocations: 55.56 kB / 0.9628 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.1665, allocations: 293.8 kB / 0.9631 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.169, allocations: 1.169 MB / 0.9643 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.171, allocations: 0.9042 MB / 0.9651 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003873/0.1749, allocations: 2.993 MB / 0.9681 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.1762, allocations: 0.848 MB / 0.9689 GB, free: 76 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.1784, allocations: 1.372 MB / 0.9702 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.1801, allocations: 0.9347 MB / 0.9711 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1802, allocations: 124 kB / 0.9713 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1814, allocations: 0.4988 MB / 0.9717 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.1819, allocations: 0.6273 MB / 0.9724 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.1826, allocations: 0.5301 MB / 0.9729 GB, free: 12 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.1844, allocations: 1.386 MB / 0.9742 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1845, allocations: 3.938 kB / 0.9742 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1845, allocations: 0 / 0.9742 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.1845, allocations: 4 kB / 0.9742 GB, free: 10.6 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002012/0.1865, allocations: 1.624 MB / 0.9758 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1865, allocations: 8.031 kB / 0.9758 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1878, allocations: 455.3 kB / 0.9763 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1888, allocations: 0.8495 MB / 0.9771 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.1889, allocations: 78.12 kB / 0.9772 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.189, allocations: 115.9 kB / 0.9773 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1902, allocations: 1.122 MB / 0.9784 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1902, allocations: 4 kB / 0.9784 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.1903, allocations: 40 kB / 0.9784 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.1903, allocations: 49.98 kB / 0.9785 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.191, allocations: 399.7 kB / 0.9788 GB, free: 5.68 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.003412/0.1944, allocations: 2.476 MB / 0.9813 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.1949, allocations: 349.2 kB / 0.9816 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.1952, allocations: 150.2 kB / 0.9817 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.1954, allocations: 32.48 kB / 0.9818 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.1954, allocations: 41.89 kB / 0.9818 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=53): time 3.938e-06/0.1954, allocations: 0 / 0.9818 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.002294/0.1977, allocations: 1.189 MB / 0.983 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1978, allocations: 59.91 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1984, allocations: 0.6634 MB / 0.9837 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.1984, allocations: 37.7 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.1988, allocations: 0.5965 MB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1989, allocations: 206.2 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1991, allocations: 136.3 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000344/0.1994, allocations: 0.5664 MB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1996, allocations: 97.94 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.1999, allocations: 344.6 kB / 0.9856 GB, free: 14.48 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.0009073/0.2008, allocations: 0.6723 MB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2008, allocations: 4 kB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007658/0.2016, allocations: 0.5658 MB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2016, allocations: 8.25 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2016, allocations: 8 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.2018, allocations: 63.03 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.2022, allocations: 147.8 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.2051, allocations: 5.268 MB / 0.9922 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.2056, allocations: 27.94 kB / 0.9922 GB, free: 7.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.2056, allocations: 24 kB / 0.9922 GB, free: 7.238 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.206, allocations: 212.5 kB / 0.9924 GB, free: 7.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.2061, allocations: 103.5 kB / 0.9925 GB, free: 6.918 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.2062, allocations: 87.73 kB / 0.9926 GB, free: 6.828 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2062, allocations: 8 kB / 0.9926 GB, free: 6.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2062, allocations: 0 / 0.9926 GB, free: 6.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005168/0.2067, allocations: 477.2 kB / 0.9931 GB, free: 6.297 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.2085, allocations: 1.407 MB / 0.9944 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2085, allocations: 4 kB / 0.9944 GB, free: 4.785 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.2088, allocations: 136.2 kB / 0.9946 GB, free: 4.652 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-05/0.2089, allocations: 31.67 kB / 0.9946 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2089, allocations: 12 kB / 0.9946 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008384/0.2098, allocations: 1.796 MB / 0.9964 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2098, allocations: 7.938 kB / 0.9964 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.2107, allocations: 0.762 MB / 0.9971 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.211, allocations: 159.4 kB / 0.9973 GB, free: 1.684 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.211, allocations: 16 kB / 0.9973 GB, free: 1.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2114, allocations: 29.02 kB / 0.9973 GB, free: 1.645 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.2114, allocations: 59.58 kB / 0.9974 GB, free: 1.586 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.2115, allocations: 27.98 kB / 0.9974 GB, free: 1.559 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003502/0.2118, allocations: 419 kB / 0.9978 GB, free: 1.152 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2118, allocations: 4 kB / 0.9978 GB, free: 1.148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007369/0.2126, allocations: 304 kB / 0.9981 GB, free: 0.8516 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (53): * Single equations (assignments): 52 * 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.0002964/0.2129, allocations: 154.2 kB / 0.9982 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2139, allocations: 0.8539 MB / 0.9991 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2139, allocations: 4.062 kB / 0.9991 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2142, allocations: 342.2 kB / 0.9994 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.2155, allocations: 0.5333 MB / 0.9999 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.2181, allocations: 1.853 MB / 1.002 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2183, allocations: 268.6 kB / 1.002 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005606/0.2189, allocations: 194.9 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.219, allocations: 72.5 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of SimCode: time 1.102e-06/0.219, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of Templates: time 0.02711/0.2461, allocations: 19.66 MB / 1.021 GB, free: 9.25 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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.2162005342543125]