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.0009877/0.0009877, 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.001874/0.001874, 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 0.9603/0.9603, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.566 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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.86e-05, allocations: 5.047 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1637/0.1637, allocations: 187.6 MB / 0.9947 GB, free: 5.836 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007844/0.1715, allocations: 5.824 MB / 1 GB, free: 4 kB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1727, allocations: 55.55 kB / 1 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.174, allocations: 0.5549 MB / 1.001 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.1777, allocations: 1.966 MB / 1.003 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.1799, allocations: 1.235 MB / 1.004 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.183, allocations: 3.048 MB / 1.007 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1841, allocations: 0.8558 MB / 1.008 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.1869, allocations: 1.675 MB / 1.01 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.1883, allocations: 0.9384 MB / 1.011 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.1885, allocations: 124 kB / 1.011 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.1905, allocations: 1.207 MB / 1.012 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.191, allocations: 0.6234 MB / 1.012 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.1915, allocations: 0.5262 MB / 1.013 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.1938, allocations: 1.752 MB / 1.015 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1938, allocations: 3.938 kB / 1.015 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1938, allocations: 0 / 1.015 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.1938, allocations: 0 / 1.015 GB, free: 1.402 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001906/0.1957, allocations: 1.682 MB / 1.016 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1957, allocations: 8.031 kB / 1.016 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1971, allocations: 462.2 kB / 1.017 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1981, allocations: 0.8528 MB / 1.018 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.1982, allocations: 74 kB / 1.018 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1983, allocations: 112 kB / 1.018 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1993, allocations: 1.127 MB / 1.019 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1993, allocations: 4 kB / 1.019 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.1994, allocations: 47.92 kB / 1.019 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.678e-05/0.1995, allocations: 38 kB / 1.019 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.2001, allocations: 403.7 kB / 1.019 GB, free: 12.41 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.003164/0.2033, allocations: 2.48 MB / 1.022 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.2038, allocations: 353.3 kB / 1.022 GB, free: 9.523 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2039, allocations: 143.8 kB / 1.022 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.2041, allocations: 36.47 kB / 1.022 GB, free: 9.344 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2041, allocations: 45.89 kB / 1.022 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.2041, allocations: 0 / 1.022 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of matching and sorting (n=55): time 0.002172/0.2063, allocations: 1.177 MB / 1.023 GB, free: 8.062 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2063, allocations: 63.84 kB / 1.024 GB, free: 7.988 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.2068, allocations: 0.6634 MB / 1.024 GB, free: 7.312 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.2069, allocations: 41.7 kB / 1.024 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.2072, allocations: 0.5885 MB / 1.025 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.2073, allocations: 210.3 kB / 1.025 GB, free: 6.461 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2075, allocations: 132.2 kB / 1.025 GB, free: 6.32 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2076, allocations: 0.5703 MB / 1.026 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2078, allocations: 101.9 kB / 1.026 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.2081, allocations: 344.6 kB / 1.026 GB, free: 5.219 MB / 0.9792 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.0008889/0.209, allocations: 0.6801 MB / 1.027 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.209, allocations: 0 / 1.027 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007183/0.2097, allocations: 0.5662 MB / 1.027 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2097, allocations: 4 kB / 1.027 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2097, allocations: 4 kB / 1.027 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.2099, allocations: 63.03 kB / 1.027 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.2103, allocations: 155.8 kB / 1.028 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2126, allocations: 5.26 MB / 1.033 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.213, allocations: 24.28 kB / 1.033 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2131, allocations: 24 kB / 1.033 GB, free: 13.98 MB / 0.9948 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.000245/0.2133, allocations: 208.3 kB / 1.033 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2134, allocations: 103.5 kB / 1.033 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.2135, allocations: 91.73 kB / 1.033 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2135, allocations: 15.92 kB / 1.033 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2135, allocations: 3.984 kB / 1.033 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004693/0.214, allocations: 473.2 kB / 1.034 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2156, allocations: 1.399 MB / 1.035 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2156, allocations: 4.406 kB / 1.035 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.2159, allocations: 139.8 kB / 1.035 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.216, allocations: 27.67 kB / 1.035 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.216, allocations: 19.98 kB / 1.035 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007891/0.2168, allocations: 1.796 MB / 1.037 GB, free: 9.422 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.2168, allocations: 7.938 kB / 1.037 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.2175, allocations: 0.7581 MB / 1.038 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.2177, allocations: 155.4 kB / 1.038 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.2178, allocations: 16 kB / 1.038 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.2181, allocations: 26.39 kB / 1.038 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.2182, allocations: 59.58 kB / 1.038 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2183, allocations: 27.98 kB / 1.038 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003377/0.2186, allocations: 422.9 kB / 1.038 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2186, allocations: 4 kB / 1.038 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006561/0.2193, allocations: 311.9 kB / 1.039 GB, free: 7.586 MB / 0.9948 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.0002796/0.2195, allocations: 182 kB / 1.039 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000791/0.2203, allocations: 0.8608 MB / 1.04 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2203, allocations: 0 / 1.04 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.2206, allocations: 343.5 kB / 1.04 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.2219, allocations: 0.5365 MB / 1.04 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2243, allocations: 1.85 MB / 1.042 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2245, allocations: 280.5 kB / 1.043 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005003/0.225, allocations: 186.9 kB / 1.043 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2251, allocations: 72.5 kB / 1.043 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of SimCode: time 1.333e-06/0.2251, allocations: 0 / 1.043 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of Templates: time 0.3517/0.5768, allocations: 20 MB / 1.062 GB, free: 273.8 MB / 0.9948 GB " [Timeout remaining time 299] 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.1737495781853795]