Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001655/0.001655, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001946/0.001946, allocations: 165 kB / 23.02 MB, free: 1.555 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.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.118/2.118, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.773e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1368/0.1368, allocations: 153.7 MB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006938/0.1438, allocations: 4.885 MB / 1.033 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.1444, allocations: 83.31 kB / 1.033 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.1452, allocations: 408.9 kB / 1.033 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.1474, allocations: 1.476 MB / 1.035 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1489, allocations: 1.13 MB / 1.036 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002691/0.1516, allocations: 4.067 MB / 1.04 GB, free: 52 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009023/0.1525, allocations: 1.017 MB / 1.041 GB, free: 15 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.1542, allocations: 1.765 MB / 1.043 GB, free: 13.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.1555, allocations: 1.194 MB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1556, allocations: 144 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.1563, allocations: 0.5184 MB / 1.045 GB, free: 11.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.1567, allocations: 0.67 MB / 1.045 GB, free: 10.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.1572, allocations: 0.6198 MB / 1.046 GB, free: 10.11 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1585, allocations: 1.55 MB / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1585, allocations: 0 / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1585, allocations: 0 / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.1585, allocations: 4 kB / 1.047 GB, free: 8.551 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001849/0.1604, allocations: 1.849 MB / 1.049 GB, free: 6.656 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1604, allocations: 12.03 kB / 1.049 GB, free: 6.645 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.1621, allocations: 0.6315 MB / 1.05 GB, free: 6.012 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1633, allocations: 1.064 MB / 1.051 GB, free: 4.91 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.1633, allocations: 90.25 kB / 1.051 GB, free: 4.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.1635, allocations: 127.9 kB / 1.051 GB, free: 4.695 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.1652, allocations: 1.13 MB / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.1652, allocations: 0 / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1653, allocations: 48 kB / 1.052 GB, free: 3.371 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/0.1654, allocations: 42.14 kB / 1.052 GB, free: 3.328 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1665, allocations: 464.5 kB / 1.053 GB, free: 2.863 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.004725/0.1712, allocations: 2.568 MB / 1.055 GB, free: 252 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5067/0.6779, allocations: 471 kB / 1.056 GB, free: 78.88 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.6784, allocations: 229.7 kB / 1.056 GB, free: 78.87 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.6785, allocations: 36.45 kB / 1.056 GB, free: 78.87 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.6786, allocations: 47.14 kB / 1.056 GB, free: 78.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.6786, allocations: 0 / 1.056 GB, free: 78.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.003048/0.6816, allocations: 1.723 MB / 1.058 GB, free: 78.51 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.6816, allocations: 61.78 kB / 1.058 GB, free: 78.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.6822, allocations: 0.7193 MB / 1.058 GB, free: 78.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.6823, allocations: 45.92 kB / 1.058 GB, free: 78.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.6825, allocations: 0.6101 MB / 1.059 GB, free: 77.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6826, allocations: 337 kB / 1.059 GB, free: 77.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.6828, allocations: 166.9 kB / 1.059 GB, free: 77.78 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.6829, allocations: 0.5152 MB / 1.06 GB, free: 77.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.6831, allocations: 128 kB / 1.06 GB, free: 77.29 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.6835, allocations: 409.8 kB / 1.06 GB, free: 77.01 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.685, allocations: 1.16 MB / 1.062 GB, free: 76.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.685, allocations: 2.938 kB / 1.062 GB, free: 76.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007036/0.6857, allocations: 0.6263 MB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6857, allocations: 5.812 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6857, allocations: 4.156 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6857, allocations: 8.688 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.6861, allocations: 181.6 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6861, allocations: 7.328 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.6866, allocations: 28.41 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.6866, allocations: 36.97 kB / 1.062 GB, free: 76.7 MB / 1.01 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0002326/0.6868, allocations: 214 kB / 1.063 GB, free: 76.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.687, allocations: 139.8 kB / 1.063 GB, free: 76.48 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.6871, allocations: 130 kB / 1.063 GB, free: 76.46 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6871, allocations: 9.766 kB / 1.063 GB, free: 76.46 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6871, allocations: 0.8438 kB / 1.063 GB, free: 76.46 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006398/0.6877, allocations: 0.7179 MB / 1.064 GB, free: 76.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.6899, allocations: 2.139 MB / 1.066 GB, free: 75.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6899, allocations: 13.22 kB / 1.066 GB, free: 75.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.6902, allocations: 164.2 kB / 1.066 GB, free: 75.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.6905, allocations: 110 kB / 1.066 GB, free: 75.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.6905, allocations: 25.19 kB / 1.066 GB, free: 75.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.6917, allocations: 3.598 MB / 1.07 GB, free: 71.81 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6917, allocations: 14.75 kB / 1.07 GB, free: 71.81 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6927, allocations: 1.244 MB / 1.071 GB, free: 71.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.693, allocations: 207.2 kB / 1.071 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.693, allocations: 35.22 kB / 1.071 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.6934, allocations: 38.73 kB / 1.071 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.6935, allocations: 90.88 kB / 1.071 GB, free: 70.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.6936, allocations: 44.14 kB / 1.071 GB, free: 70.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003194/0.6939, allocations: 464.5 kB / 1.072 GB, free: 70.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6939, allocations: 0 / 1.072 GB, free: 70.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000704/0.6946, allocations: 375.8 kB / 1.072 GB, free: 70.84 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002672/0.6949, allocations: 176.6 kB / 1.072 GB, free: 70.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.6955, allocations: 491.7 kB / 1.073 GB, free: 70.72 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6955, allocations: 3.844 kB / 1.073 GB, free: 70.72 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.6959, allocations: 0.6139 MB / 1.073 GB, free: 70.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6977, allocations: 0.736 MB / 1.074 GB, free: 70.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.7002, allocations: 2.458 MB / 1.076 GB, free: 68.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.7004, allocations: 317.1 kB / 1.077 GB, free: 68.89 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006176/0.701, allocations: 260.9 kB / 1.077 GB, free: 68.86 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.7012, allocations: 93.66 kB / 1.077 GB, free: 68.85 MB / 1.01 GB Notification: Performance of SimCode: time 7.92e-07/0.7012, allocations: 0 / 1.077 GB, free: 68.85 MB / 1.01 GB Notification: Performance of Templates: time 0.03061/0.7318, allocations: 24.38 MB / 1.101 GB, free: 66.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.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.989341069944203]