Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.000977/0.000977, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001839/0.001839, allocations: 169 kB / 24.06 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 0.9498/0.9498, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.121/2.121, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.[0-9,]+..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.[0-9,]+..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.138e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1311/0.1312, allocations: 147.5 MB / 1.023 GB, free: 1.984 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007425/0.1386, allocations: 6.671 MB / 1.03 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.1391, allocations: 55.5 kB / 1.03 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.1397, allocations: 278 kB / 1.03 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1417, allocations: 1.477 MB / 1.032 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.1444, allocations: 2.073 MB / 1.034 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.1464, allocations: 2.714 MB / 1.036 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.1469, allocations: 0.6281 MB / 1.037 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.1486, allocations: 1.527 MB / 1.039 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008078/0.1494, allocations: 0.9351 MB / 1.039 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1495, allocations: 92 kB / 1.04 GB, free: 1.512 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1508, allocations: 1.049 MB / 1.041 GB, free: 472 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.1511, allocations: 474.8 kB / 1.041 GB, free: 15.99 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.1514, allocations: 423 kB / 1.041 GB, free: 15.58 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1529, allocations: 1.721 MB / 1.043 GB, free: 13.86 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1529, allocations: 3.938 kB / 1.043 GB, free: 13.85 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1529, allocations: 0 / 1.043 GB, free: 13.85 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.153, allocations: 4 kB / 1.043 GB, free: 13.85 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001822/0.1548, allocations: 1.568 MB / 1.045 GB, free: 12.23 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1548, allocations: 8.031 kB / 1.045 GB, free: 12.23 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009714/0.1558, allocations: 378.8 kB / 1.045 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.1566, allocations: 0.7573 MB / 1.046 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.1566, allocations: 53.3 kB / 1.046 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.1567, allocations: 67.98 kB / 1.046 GB, free: 10.95 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1573, allocations: 0.6909 MB / 1.047 GB, free: 10.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1573, allocations: 3.938 kB / 1.047 GB, free: 10.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1574, allocations: 23.98 kB / 1.047 GB, free: 10.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-05/0.1575, allocations: 73.95 kB / 1.047 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1579, allocations: 313.7 kB / 1.047 GB, free: 9.793 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.002639/0.1605, allocations: 2.026 MB / 1.049 GB, free: 7.727 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.1609, allocations: 306.4 kB / 1.049 GB, free: 7.418 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1611, allocations: 137 kB / 1.049 GB, free: 7.281 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.1612, allocations: 24.48 kB / 1.049 GB, free: 7.258 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1612, allocations: 41.89 kB / 1.049 GB, free: 7.207 MB / 1.01 GB Notification: Performance of pre-optimization done (n=62): time 1.794e-06/0.1612, allocations: 0 / 1.049 GB, free: 7.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=62): time 0.0007019/0.1619, allocations: 476.6 kB / 1.05 GB, free: 6.738 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1619, allocations: 107.3 kB / 1.05 GB, free: 6.609 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1624, allocations: 0.6474 MB / 1.051 GB, free: 5.945 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.1624, allocations: 37.7 kB / 1.051 GB, free: 5.902 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.1627, allocations: 495.1 kB / 1.051 GB, free: 5.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1628, allocations: 234 kB / 1.051 GB, free: 5.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1629, allocations: 148.2 kB / 1.051 GB, free: 5.027 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.1631, allocations: 0.578 MB / 1.052 GB, free: 4.438 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1633, allocations: 95.61 kB / 1.052 GB, free: 4.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.1636, allocations: 409 kB / 1.052 GB, free: 3.852 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.1639, allocations: 345.1 kB / 1.053 GB, free: 3.469 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1639, allocations: 4 kB / 1.053 GB, free: 3.465 MB / 1.01 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005663/0.1645, allocations: 484.6 kB / 1.053 GB, free: 2.984 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1645, allocations: 7.984 kB / 1.053 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1645, allocations: 4 kB / 1.053 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1645, allocations: 4 kB / 1.053 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.1649, allocations: 143.8 kB / 1.053 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1649, allocations: 12.27 kB / 1.053 GB, free: 2.816 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.1652, allocations: 67.52 kB / 1.054 GB, free: 2.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.1652, allocations: 23.98 kB / 1.054 GB, free: 2.727 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002323/0.1655, allocations: 216.8 kB / 1.054 GB, free: 2.508 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002576/0.1657, allocations: 412.3 kB / 1.054 GB, free: 2.012 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003414/0.1661, allocations: 352.5 kB / 1.054 GB, free: 1.621 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.1661, allocations: 4 kB / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0005381/0.1666, allocations: 480.8 kB / 1.055 GB, free: 1.141 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.1666, allocations: 11.94 kB / 1.055 GB, free: 1.129 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1666, allocations: 4 kB / 1.055 GB, free: 1.125 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.1666, allocations: 4 kB / 1.055 GB, free: 1.121 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.167, allocations: 147.8 kB / 1.055 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.167, allocations: 4 kB / 1.055 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1673, allocations: 63.61 kB / 1.055 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.1673, allocations: 23.98 kB / 1.055 GB, free: 0.8867 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0001488/0.1674, allocations: 311.8 kB / 1.055 GB, free: 0.5742 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1676, allocations: 107.4 kB / 1.056 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.168, allocations: 428.3 kB / 1.056 GB, free: 44 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1681, allocations: 8 kB / 1.056 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1681, allocations: 0 / 1.056 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.429/0.5971, allocations: 370.7 kB / 1.056 GB, free: 76.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.5987, allocations: 1.205 MB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5987, allocations: 3.844 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.5991, allocations: 129.5 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.5991, allocations: 12.02 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.5991, allocations: 15.94 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.5991, allocations: 8.75 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5991, allocations: 7.281 kB / 1.058 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.5998, allocations: 0.7682 MB / 1.058 GB, free: 76.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.6, allocations: 157.3 kB / 1.059 GB, free: 76.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.6001, allocations: 16.69 kB / 1.059 GB, free: 76.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.6004, allocations: 23.22 kB / 1.059 GB, free: 76.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.6004, allocations: 48.94 kB / 1.059 GB, free: 76.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6005, allocations: 21.84 kB / 1.059 GB, free: 76.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002297/0.6007, allocations: 398.1 kB / 1.059 GB, free: 75.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6007, allocations: 0 / 1.059 GB, free: 75.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001136/0.6018, allocations: 0.6699 MB / 1.06 GB, free: 75.88 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.0006368/0.6025, allocations: 390.1 kB / 1.06 GB, free: 75.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007649/0.6032, allocations: 0.5472 MB / 1.061 GB, free: 75.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6032, allocations: 0 / 1.061 GB, free: 75.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.6034, allocations: 181.9 kB / 1.061 GB, free: 75.74 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.6046, allocations: 484 kB / 1.061 GB, free: 75.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.6067, allocations: 1.668 MB / 1.063 GB, free: 74.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.6068, allocations: 234.2 kB / 1.063 GB, free: 74.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000551/0.6073, allocations: 173.9 kB / 1.063 GB, free: 74.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.608, allocations: 416.8 kB / 1.064 GB, free: 74.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.753e-06/0.608, allocations: 0.8125 kB / 1.064 GB, free: 74.75 MB / 1.01 GB Notification: Performance of Templates: time 0.0255/0.6335, allocations: 22.17 MB / 1.085 GB, free: 72.87 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.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.584933931007981]