Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001015/0.001015, 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.0009829/0.0009829, allocations: 169 kB / 23.02 MB, free: 1.551 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.072/2.072, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.264e-05, allocations: 9.562 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.156/0.156, allocations: 150.2 MB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1702, allocations: 11.23 MB / 1.036 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1715, allocations: 39.69 kB / 1.036 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.1724, allocations: 348.9 kB / 1.036 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.1749, allocations: 1.095 MB / 1.037 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.1778, allocations: 1.496 MB / 1.039 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.1805, allocations: 2.589 MB / 1.041 GB, free: 14.7 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.1824, allocations: 1.251 MB / 1.042 GB, free: 13.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.1851, allocations: 1.715 MB / 1.044 GB, free: 11.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.1859, allocations: 0.6972 MB / 1.045 GB, free: 11.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.1862, allocations: 168 kB / 1.045 GB, free: 10.89 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1877, allocations: 0.9512 MB / 1.046 GB, free: 9.938 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.188, allocations: 0.4984 MB / 1.046 GB, free: 9.438 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.1886, allocations: 0.5962 MB / 1.047 GB, free: 8.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.191, allocations: 2.001 MB / 1.049 GB, free: 6.832 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.191, allocations: 0 / 1.049 GB, free: 6.832 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.124e-06/0.191, allocations: 0 / 1.049 GB, free: 6.832 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.274e-05/0.191, allocations: 0 / 1.049 GB, free: 6.832 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002813/0.1938, allocations: 2.105 MB / 1.051 GB, free: 4.676 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1939, allocations: 8.031 kB / 1.051 GB, free: 4.668 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.1958, allocations: 0.6418 MB / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1974, allocations: 0.9993 MB / 1.053 GB, free: 2.984 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.1975, allocations: 102.8 kB / 1.053 GB, free: 2.883 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.1976, allocations: 148 kB / 1.053 GB, free: 2.738 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1992, allocations: 1.629 MB / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1992, allocations: 0 / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.1993, allocations: 60 kB / 1.055 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.1994, allocations: 32 kB / 1.055 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6033/0.8026, allocations: 1.037 MB / 1.056 GB, free: 73.06 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.005693/0.8083, allocations: 4.091 MB / 1.06 GB, free: 71.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.8098, allocations: 0.7529 MB / 1.06 GB, free: 71.36 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.8103, allocations: 281.6 kB / 1.061 GB, free: 71.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.8106, allocations: 103.7 kB / 1.061 GB, free: 71.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008343/0.8114, allocations: 0.86 MB / 1.061 GB, free: 70.81 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 5.24e-06/0.8114, allocations: 0 / 1.061 GB, free: 70.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.002464/0.8139, allocations: 1.111 MB / 1.063 GB, free: 70.67 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.814, allocations: 202.3 kB / 1.063 GB, free: 70.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.8147, allocations: 0.7134 MB / 1.063 GB, free: 70.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.8148, allocations: 54.61 kB / 1.064 GB, free: 70.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.8151, allocations: 0.6493 MB / 1.064 GB, free: 69.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.8154, allocations: 398.2 kB / 1.065 GB, free: 69.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.8157, allocations: 239.5 kB / 1.065 GB, free: 69.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8158, allocations: 0.5206 MB / 1.065 GB, free: 69.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.8162, allocations: 200.2 kB / 1.065 GB, free: 69.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.8167, allocations: 0.5334 MB / 1.066 GB, free: 68.89 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.8176, allocations: 0.6234 MB / 1.067 GB, free: 68.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.8176, allocations: 5.906 kB / 1.067 GB, free: 68.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001659/0.8193, allocations: 0.9359 MB / 1.068 GB, free: 68.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8193, allocations: 6.375 kB / 1.068 GB, free: 68.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8193, allocations: 2.906 kB / 1.068 GB, free: 68.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.8199, allocations: 133.1 kB / 1.068 GB, free: 68.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.8207, allocations: 270.8 kB / 1.068 GB, free: 68.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.8222, allocations: 1.923 MB / 1.07 GB, free: 66.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.8227, allocations: 103.1 kB / 1.07 GB, free: 66.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.8228, allocations: 53.52 kB / 1.07 GB, free: 66.78 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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 prepare postOptimizeDAE: time 0.0003064/0.8231, allocations: 237.4 kB / 1.07 GB, free: 66.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.8233, allocations: 147.4 kB / 1.07 GB, free: 66.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.8251, allocations: 1.086 MB / 1.071 GB, free: 66.45 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8252, allocations: 10.97 kB / 1.071 GB, free: 66.45 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8252, allocations: 0.9844 kB / 1.071 GB, free: 66.45 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.8252, allocations: 7.297 kB / 1.071 GB, free: 66.45 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.8282, allocations: 2.159 MB / 1.073 GB, free: 66.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8282, allocations: 5.984 kB / 1.073 GB, free: 66.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.8289, allocations: 217.4 kB / 1.074 GB, free: 66.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.8293, allocations: 117.1 kB / 1.074 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.8294, allocations: 34.86 kB / 1.074 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.8305, allocations: 1.928 MB / 1.076 GB, free: 64.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8305, allocations: 4 kB / 1.076 GB, free: 64.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.8321, allocations: 1.08 MB / 1.077 GB, free: 63.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.8325, allocations: 261.3 kB / 1.077 GB, free: 63.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.8326, allocations: 28.77 kB / 1.077 GB, free: 63.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.833, allocations: 60.02 kB / 1.077 GB, free: 63.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.8332, allocations: 86.33 kB / 1.077 GB, free: 63.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/0.8333, allocations: 52.34 kB / 1.077 GB, free: 63.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004236/0.8337, allocations: 461.6 kB / 1.078 GB, free: 63.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8337, allocations: 0 / 1.078 GB, free: 63.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001216/0.8349, allocations: 0.5203 MB / 1.078 GB, free: 63.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/0.8365, allocations: 0.714 MB / 1.079 GB, free: 63.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.8377, allocations: 0.8661 MB / 1.08 GB, free: 63.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8377, allocations: 2.188 kB / 1.08 GB, free: 63.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.8383, allocations: 0.5672 MB / 1.08 GB, free: 63.14 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8394, allocations: 481.9 kB / 1.081 GB, free: 63.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.8426, allocations: 2.178 MB / 1.083 GB, free: 62.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.8427, allocations: 276.1 kB / 1.083 GB, free: 62.03 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.8435, allocations: 357 kB / 1.083 GB, free: 61.97 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.8438, allocations: 133.1 kB / 1.084 GB, free: 61.96 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.8438, allocations: 1.844 kB / 1.084 GB, free: 61.96 MB / 1.01 GB Notification: Performance of Templates: time 0.03833/0.8822, allocations: 24.21 MB / 1.107 GB, free: 59.41 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.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: 7.056221248116344]