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.001096/0.001096, allocations: 77.09 kB / 20.66 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.001232/0.001232, allocations: 169 kB / 24.06 MB, free: 456 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.9752/0.9752, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.076/2.076, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.443e-06/1.443e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.091e-05, allocations: 7.594 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1372/0.1372, allocations: 150.8 MB / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007741/0.145, allocations: 4.868 MB / 1.031 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1463, allocations: 79.31 kB / 1.031 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.1471, allocations: 409 kB / 1.032 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1497, allocations: 1.488 MB / 1.033 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.1517, allocations: 1.123 MB / 1.034 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004295/0.156, allocations: 4.079 MB / 1.038 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.1574, allocations: 1.006 MB / 1.039 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.1607, allocations: 2.059 MB / 1.041 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.1624, allocations: 1.145 MB / 1.043 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.1626, allocations: 144 kB / 1.043 GB, free: 14.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.1637, allocations: 451.1 kB / 1.043 GB, free: 13.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004746/0.1642, allocations: 0.6622 MB / 1.044 GB, free: 13.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.1647, allocations: 0.6081 MB / 1.044 GB, free: 12.55 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1662, allocations: 1.515 MB / 1.046 GB, free: 11.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1662, allocations: 4 kB / 1.046 GB, free: 11.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1662, allocations: 0 / 1.046 GB, free: 11.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.1662, allocations: 0 / 1.046 GB, free: 11.02 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.001881/0.1681, allocations: 1.818 MB / 1.048 GB, free: 9.16 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1681, allocations: 12.03 kB / 1.048 GB, free: 9.148 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.1697, allocations: 0.5964 MB / 1.048 GB, free: 8.551 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1708, allocations: 1.003 MB / 1.049 GB, free: 7.512 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.1709, allocations: 82.27 kB / 1.049 GB, free: 7.43 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.171, allocations: 124 kB / 1.049 GB, free: 7.309 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000852/0.1719, allocations: 1.03 MB / 1.05 GB, free: 6.141 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1719, allocations: 0 / 1.05 GB, free: 6.141 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.172, allocations: 48 kB / 1.05 GB, free: 6.094 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.172, allocations: 38.14 kB / 1.05 GB, free: 6.055 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.1725, allocations: 375.2 kB / 1.051 GB, free: 5.668 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.003162/0.1757, allocations: 2.563 MB / 1.053 GB, free: 3.059 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.1762, allocations: 438.7 kB / 1.054 GB, free: 2.621 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1764, allocations: 190 kB / 1.054 GB, free: 2.438 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1765, allocations: 36.98 kB / 1.054 GB, free: 2.402 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1765, allocations: 50.39 kB / 1.054 GB, free: 2.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 2.154e-06/0.1765, allocations: 0 / 1.054 GB, free: 2.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.002273/0.1788, allocations: 1.429 MB / 1.055 GB, free: 0.875 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1788, allocations: 72.39 kB / 1.055 GB, free: 0.793 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.1793, allocations: 0.7098 MB / 1.056 GB, free: 64 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.1794, allocations: 49.69 kB / 1.056 GB, free: 8 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.4407/0.6201, allocations: 0.6133 MB / 1.057 GB, free: 80.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.6204, allocations: 333.6 kB / 1.057 GB, free: 80.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.6206, allocations: 169.1 kB / 1.057 GB, free: 80.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.6207, allocations: 0.5157 MB / 1.058 GB, free: 80.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.6208, allocations: 94.73 kB / 1.058 GB, free: 80.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.621, allocations: 382.1 kB / 1.058 GB, free: 80.07 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.001068/0.6221, allocations: 0.9988 MB / 1.059 GB, free: 79.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.6221, allocations: 3.438 kB / 1.059 GB, free: 79.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006765/0.6228, allocations: 0.5631 MB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6228, allocations: 9.469 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6228, allocations: 4.188 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.6228, allocations: 8.594 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.6232, allocations: 180.7 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6232, allocations: 13.05 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.6238, allocations: 21.44 kB / 1.06 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.6238, allocations: 26.81 kB / 1.06 GB, free: 79.77 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.0002654/0.6241, allocations: 213.8 kB / 1.06 GB, free: 79.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.6242, allocations: 143.6 kB / 1.06 GB, free: 79.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.6243, allocations: 128.2 kB / 1.06 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6243, allocations: 8.75 kB / 1.06 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.6243, allocations: 2.875 kB / 1.06 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005466/0.6249, allocations: 0.6575 MB / 1.061 GB, free: 79.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.6268, allocations: 1.91 MB / 1.063 GB, free: 78.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.6268, allocations: 7.969 kB / 1.063 GB, free: 78.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.6271, allocations: 169 kB / 1.063 GB, free: 78.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.6274, allocations: 101.1 kB / 1.063 GB, free: 78.35 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.6274, allocations: 34.12 kB / 1.063 GB, free: 78.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.6285, allocations: 3.539 MB / 1.067 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6285, allocations: 14.38 kB / 1.067 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.6294, allocations: 1.189 MB / 1.068 GB, free: 74.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.6297, allocations: 194.8 kB / 1.068 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.6297, allocations: 31.3 kB / 1.068 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.6302, allocations: 37.47 kB / 1.068 GB, free: 74.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.6302, allocations: 91.86 kB / 1.068 GB, free: 74.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.6303, allocations: 42.67 kB / 1.068 GB, free: 74.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002431/0.6305, allocations: 434.8 kB / 1.069 GB, free: 73.97 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6305, allocations: 0 / 1.069 GB, free: 73.97 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007133/0.6312, allocations: 375.3 kB / 1.069 GB, free: 73.97 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.0002485/0.6315, allocations: 173.5 kB / 1.069 GB, free: 73.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.632, allocations: 434.2 kB / 1.07 GB, free: 73.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.632, allocations: 3.844 kB / 1.07 GB, free: 73.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.6324, allocations: 0.6011 MB / 1.07 GB, free: 73.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.634, allocations: 0.7309 MB / 1.071 GB, free: 73.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.6363, allocations: 2.45 MB / 1.073 GB, free: 72.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.6365, allocations: 315.8 kB / 1.074 GB, free: 72.03 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005834/0.6371, allocations: 193.4 kB / 1.074 GB, free: 72 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/0.6381, allocations: 0.5896 MB / 1.074 GB, free: 71.94 MB / 1.01 GB Notification: Performance of SimCode: time 8.11e-07/0.6381, allocations: 0 / 1.074 GB, free: 71.94 MB / 1.01 GB Notification: Performance of Templates: time 0.03307/0.6711, allocations: 26.94 MB / 1.101 GB, free: 69.34 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.7075912412256]