Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0009622/0.0009622, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001365/0.001365, allocations: 165 kB / 24.05 MB, free: 452 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.12/2.12, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.372e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1662/0.1662, allocations: 148.1 MB / 1.024 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.1725, allocations: 3.799 MB / 1.028 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/0.1732, allocations: 55.56 kB / 1.028 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.1739, allocations: 281.9 kB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.1756, allocations: 1.057 MB / 1.029 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1772, allocations: 0.9974 MB / 1.03 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.1793, allocations: 2.503 MB / 1.032 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.1801, allocations: 0.7475 MB / 1.033 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.1818, allocations: 1.372 MB / 1.035 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.1825, allocations: 0.7517 MB / 1.035 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1826, allocations: 100 kB / 1.035 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008812/0.1835, allocations: 0.6353 MB / 1.036 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.1839, allocations: 0.5182 MB / 1.036 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.1842, allocations: 451 kB / 1.037 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.1855, allocations: 1.332 MB / 1.038 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1855, allocations: 8 kB / 1.038 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1855, allocations: 0 / 1.038 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.1855, allocations: 0 / 1.038 GB, free: 2.816 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001426/0.187, allocations: 1.487 MB / 1.04 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.187, allocations: 8.031 kB / 1.04 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.188, allocations: 395.5 kB / 1.04 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.1888, allocations: 0.7104 MB / 1.041 GB, free: 160 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.1888, allocations: 66.12 kB / 1.041 GB, free: 92 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.189, allocations: 96.03 kB / 1.041 GB, free: 15.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.1899, allocations: 1.093 MB / 1.042 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.19, allocations: 4 kB / 1.042 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.19, allocations: 36 kB / 1.042 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.1901, allocations: 41.92 kB / 1.042 GB, free: 14.67 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.1904, allocations: 285.6 kB / 1.042 GB, free: 14.39 MB / 1.01 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.00303/0.1935, allocations: 3.365 MB / 1.046 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.1937, allocations: 198.8 kB / 1.046 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.1938, allocations: 82.69 kB / 1.046 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.1939, allocations: 19.98 kB / 1.046 GB, free: 10.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.194, allocations: 53.38 kB / 1.046 GB, free: 10.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.194, allocations: 0 / 1.046 GB, free: 10.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.001148/0.1951, allocations: 0.6846 MB / 1.047 GB, free: 9.84 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1952, allocations: 59.16 kB / 1.047 GB, free: 9.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.1957, allocations: 0.6746 MB / 1.047 GB, free: 9.078 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.1958, allocations: 37.7 kB / 1.047 GB, free: 9.035 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1961, allocations: 0.5802 MB / 1.048 GB, free: 8.445 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.1962, allocations: 134.8 kB / 1.048 GB, free: 8.312 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.1963, allocations: 139.8 kB / 1.048 GB, free: 8.168 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1965, allocations: 0.5585 MB / 1.049 GB, free: 7.598 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1966, allocations: 65.25 kB / 1.049 GB, free: 7.531 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.1969, allocations: 377.9 kB / 1.049 GB, free: 7.047 MB / 1.01 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.0005624/0.1975, allocations: 0.5289 MB / 1.05 GB, free: 6.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1975, allocations: 4 kB / 1.05 GB, free: 6.406 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005141/0.198, allocations: 452.2 kB / 1.05 GB, free: 5.957 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.198, allocations: 11.94 kB / 1.05 GB, free: 5.945 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.198, allocations: 4 kB / 1.05 GB, free: 5.941 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.198, allocations: 12 kB / 1.05 GB, free: 5.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.1984, allocations: 135.8 kB / 1.05 GB, free: 5.797 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1984, allocations: 11.98 kB / 1.05 GB, free: 5.785 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.1987, allocations: 44.23 kB / 1.05 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1987, allocations: 23.98 kB / 1.05 GB, free: 5.719 MB / 1.01 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001932/0.1989, allocations: 197.6 kB / 1.051 GB, free: 5.516 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.199, allocations: 95.48 kB / 1.051 GB, free: 5.422 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.1991, allocations: 78.8 kB / 1.051 GB, free: 5.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1991, allocations: 4 kB / 1.051 GB, free: 5.336 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1991, allocations: 4 kB / 1.051 GB, free: 5.332 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003242/0.1994, allocations: 491.5 kB / 1.051 GB, free: 4.766 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2008, allocations: 1.052 MB / 1.052 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2008, allocations: 8.031 kB / 1.052 GB, free: 3.605 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.201, allocations: 83.89 kB / 1.052 GB, free: 3.523 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.201, allocations: 4 kB / 1.052 GB, free: 3.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.2011, allocations: 12 kB / 1.052 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.403e-06/0.2011, allocations: 11.94 kB / 1.052 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2011, allocations: 4 kB / 1.052 GB, free: 3.492 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.2016, allocations: 0.6056 MB / 1.053 GB, free: 2.801 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2017, allocations: 131.4 kB / 1.053 GB, free: 2.672 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.2018, allocations: 8 kB / 1.053 GB, free: 2.664 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.2021, allocations: 33.8 kB / 1.053 GB, free: 2.633 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2021, allocations: 35.98 kB / 1.053 GB, free: 2.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2022, allocations: 27.92 kB / 1.053 GB, free: 2.57 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002681/0.2024, allocations: 402.8 kB / 1.054 GB, free: 2.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2024, allocations: 0 / 1.054 GB, free: 2.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005657/0.203, allocations: 255.9 kB / 1.054 GB, free: 1.93 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0003306/0.2033, allocations: 174.9 kB / 1.054 GB, free: 1.746 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.2037, allocations: 246 kB / 1.054 GB, free: 1.504 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2037, allocations: 4 kB / 1.054 GB, free: 1.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2038, allocations: 111.1 kB / 1.054 GB, free: 1.387 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.205, allocations: 452.3 kB / 1.055 GB, free: 0.957 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4706/0.6756, allocations: 1.625 MB / 1.056 GB, free: 79.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.6758, allocations: 238.2 kB / 1.057 GB, free: 79.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005759/0.6764, allocations: 124.2 kB / 1.057 GB, free: 79.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.677, allocations: 435.3 kB / 1.057 GB, free: 79.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.883e-06/0.677, allocations: 3 kB / 1.057 GB, free: 79.77 MB / 1.01 GB Notification: Performance of Templates: time 0.01923/0.6962, allocations: 16.97 MB / 1.074 GB, free: 78.54 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.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.757681080605835]