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.001199/0.001199, allocations: 92.22 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.001024/0.001024, 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 0.9472/0.9472, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.123/2.123, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 2.745e-06/2.745e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.809e-05/5.084e-05, allocations: 9.625 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1601/0.1601, allocations: 150.3 MB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009415/0.1695, allocations: 6.758 MB / 1.032 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.1709, allocations: 59.44 kB / 1.032 GB, free: 8.652 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.1717, allocations: 278 kB / 1.032 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.175, allocations: 1.461 MB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.179, allocations: 1.991 MB / 1.035 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003813/0.1828, allocations: 2.764 MB / 1.038 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1839, allocations: 0.624 MB / 1.039 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.1858, allocations: 1.301 MB / 1.04 GB, free: 208 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.1874, allocations: 1.057 MB / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1875, allocations: 96 kB / 1.041 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.1896, allocations: 1.127 MB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.19, allocations: 482.7 kB / 1.043 GB, free: 13.46 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.1905, allocations: 419 kB / 1.043 GB, free: 13.05 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.1931, allocations: 1.76 MB / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1931, allocations: 0 / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1931, allocations: 0 / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.1931, allocations: 0 / 1.045 GB, free: 11.28 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.002274/0.1954, allocations: 1.599 MB / 1.046 GB, free: 9.637 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1954, allocations: 8.031 kB / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1965, allocations: 402.7 kB / 1.047 GB, free: 9.234 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1975, allocations: 0.7782 MB / 1.047 GB, free: 8.43 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.1976, allocations: 49.3 kB / 1.047 GB, free: 8.379 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.1977, allocations: 71.98 kB / 1.047 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009869/0.1987, allocations: 0.734 MB / 1.048 GB, free: 7.516 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1987, allocations: 0 / 1.048 GB, free: 7.516 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.1987, allocations: 27.98 kB / 1.048 GB, free: 7.488 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.1988, allocations: 69.95 kB / 1.048 GB, free: 7.422 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.1995, allocations: 395.6 kB / 1.049 GB, free: 7.031 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.00329/0.2028, allocations: 2.07 MB / 1.051 GB, free: 4.926 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.2034, allocations: 330.7 kB / 1.051 GB, free: 4.594 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.2036, allocations: 153 kB / 1.051 GB, free: 4.441 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2037, allocations: 32.48 kB / 1.051 GB, free: 4.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2037, allocations: 41.89 kB / 1.051 GB, free: 4.359 MB / 1.01 GB Notification: Performance of pre-optimization done (n=62): time 2.976e-06/0.2037, allocations: 0 / 1.051 GB, free: 4.359 MB / 1.01 GB Notification: Performance of matching and sorting (n=62): time 0.001143/0.2049, allocations: 0.5239 MB / 1.052 GB, free: 3.832 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.2049, allocations: 115.3 kB / 1.052 GB, free: 3.695 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.2055, allocations: 0.6673 MB / 1.052 GB, free: 3.016 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.2055, allocations: 37.7 kB / 1.053 GB, free: 2.973 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.2058, allocations: 483.2 kB / 1.053 GB, free: 2.492 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.206, allocations: 226.1 kB / 1.053 GB, free: 2.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.2062, allocations: 152.3 kB / 1.053 GB, free: 2.113 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2064, allocations: 0.5742 MB / 1.054 GB, free: 1.527 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2066, allocations: 119.6 kB / 1.054 GB, free: 1.406 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.207, allocations: 429 kB / 1.054 GB, free: 0.9023 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.2075, allocations: 389.2 kB / 1.055 GB, free: 488 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2075, allocations: 0 / 1.055 GB, free: 488 kB / 1.01 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.5123/0.7198, allocations: 0.5311 MB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.7199, allocations: 5.781 kB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.7199, allocations: 5.062 kB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.7199, allocations: 7.031 kB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.7208, allocations: 147.9 kB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.7208, allocations: 9.078 kB / 1.055 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.7216, allocations: 72.33 kB / 1.056 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.7217, allocations: 24.78 kB / 1.056 GB, free: 74.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005454/0.7222, allocations: 245.3 kB / 1.056 GB, free: 74 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004276/0.7226, allocations: 439.7 kB / 1.056 GB, free: 73.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006723/0.7233, allocations: 393.2 kB / 1.057 GB, free: 73.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.7233, allocations: 3.562 kB / 1.057 GB, free: 73.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001156/0.7245, allocations: 0.5158 MB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7245, allocations: 9.75 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7245, allocations: 3.781 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7245, allocations: 5.844 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.7251, allocations: 148.2 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7251, allocations: 6.125 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.7256, allocations: 72.12 kB / 1.057 GB, free: 73.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.7257, allocations: 28.47 kB / 1.057 GB, free: 73.46 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.0001862/0.7259, allocations: 303.9 kB / 1.058 GB, free: 73.19 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.726, allocations: 114.7 kB / 1.058 GB, free: 73.19 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.7269, allocations: 465.6 kB / 1.058 GB, free: 73.13 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.7269, allocations: 6.438 kB / 1.058 GB, free: 73.13 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7269, allocations: 0.7188 kB / 1.058 GB, free: 73.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006055/0.7275, allocations: 424.9 kB / 1.059 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.7298, allocations: 1.381 MB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.7299, allocations: 3.75 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.7304, allocations: 131 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.7304, allocations: 7 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.7305, allocations: 15.44 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.7305, allocations: 8.375 kB / 1.06 GB, free: 72.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/0.7305, allocations: 10.19 kB / 1.06 GB, free: 72.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.7317, allocations: 0.8318 MB / 1.061 GB, free: 72.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.732, allocations: 160.5 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7321, allocations: 22.41 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.7326, allocations: 21.47 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.7327, allocations: 48.31 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.7327, allocations: 24.06 kB / 1.061 GB, free: 72.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004718/0.7332, allocations: 437.6 kB / 1.062 GB, free: 71.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7332, allocations: 0 / 1.062 GB, free: 71.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001797/0.735, allocations: 0.6719 MB / 1.062 GB, free: 71.87 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.0008459/0.7358, allocations: 379.6 kB / 1.063 GB, free: 71.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.7373, allocations: 0.6206 MB / 1.063 GB, free: 71.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7373, allocations: 0 / 1.063 GB, free: 71.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.7376, allocations: 202.5 kB / 1.063 GB, free: 71.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.7395, allocations: 491.2 kB / 1.064 GB, free: 71.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.7432, allocations: 1.671 MB / 1.066 GB, free: 70.88 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.7434, allocations: 240 kB / 1.066 GB, free: 70.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001236/0.7447, allocations: 339.6 kB / 1.066 GB, free: 70.78 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.7449, allocations: 67.88 kB / 1.066 GB, free: 70.77 MB / 1.01 GB Notification: Performance of SimCode: time 2.726e-06/0.7449, allocations: 1.094 kB / 1.066 GB, free: 70.77 MB / 1.01 GB Notification: Performance of Templates: time 0.03706/0.782, allocations: 19.86 MB / 1.086 GB, free: 69.09 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.977782088331878]