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.001362/0.001362, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001198/0.001198, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.423/2.423, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.174e-06/2.174e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.846e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.148/0.1481, allocations: 149.5 MB / 0.9847 GB, free: 8.043 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1634, allocations: 11.27 MB / 0.9957 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.1645, allocations: 43.62 kB / 0.9957 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1656, allocations: 345 kB / 0.996 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.1684, allocations: 1.056 MB / 0.9971 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.172, allocations: 1.48 MB / 0.9985 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.1752, allocations: 2.585 MB / 1.001 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1779, allocations: 1.456 MB / 1.002 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.1803, allocations: 1.557 MB / 1.004 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009566/0.1812, allocations: 0.6854 MB / 1.005 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.1815, allocations: 168 kB / 1.005 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.1832, allocations: 0.9748 MB / 1.006 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006291/0.1838, allocations: 0.5101 MB / 1.006 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005551/0.1844, allocations: 0.6002 MB / 1.007 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.187, allocations: 2.001 MB / 1.009 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.187, allocations: 0 / 1.009 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.303e-06/0.187, allocations: 0 / 1.009 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.839e-05/0.187, allocations: 3.984 kB / 1.009 GB, free: 15.29 MB / 0.9792 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.002324/0.1894, allocations: 1.948 MB / 1.011 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1894, allocations: 8.922 kB / 1.011 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.1916, allocations: 0.6037 MB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1928, allocations: 0.812 MB / 1.012 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.1929, allocations: 106.8 kB / 1.012 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.1931, allocations: 148 kB / 1.012 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1945, allocations: 1.518 MB / 1.014 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1945, allocations: 0 / 1.014 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.334e-05/0.1946, allocations: 60 kB / 1.014 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.1946, allocations: 36 kB / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1957, allocations: 0.7613 MB / 1.015 GB, free: 9.008 MB / 0.9792 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.003849/0.1996, allocations: 2.956 MB / 1.018 GB, free: 5.984 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.2005, allocations: 0.6125 MB / 1.018 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.2008, allocations: 199.7 kB / 1.018 GB, free: 5.164 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.2011, allocations: 88.91 kB / 1.018 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/0.2018, allocations: 0.8049 MB / 1.019 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 2.705e-06/0.2018, allocations: 0 / 1.019 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.001707/0.2035, allocations: 0.741 MB / 1.02 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.2035, allocations: 196.9 kB / 1.02 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.2041, allocations: 0.6458 MB / 1.021 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/0.2042, allocations: 53.7 kB / 1.021 GB, free: 2.465 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.2045, allocations: 0.4989 MB / 1.021 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.2047, allocations: 396.6 kB / 1.022 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.205, allocations: 214.8 kB / 1.022 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.2051, allocations: 349.8 kB / 1.022 GB, free: 1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2053, allocations: 133.4 kB / 1.022 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.2057, allocations: 436.4 kB / 1.023 GB, free: 376 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.2063, allocations: 0.4948 MB / 1.023 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2063, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001056/0.2074, allocations: 0.6214 MB / 1.024 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2074, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2074, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.2079, allocations: 132.9 kB / 1.024 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/0.2088, allocations: 291.6 kB / 1.024 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.21, allocations: 1.332 MB / 1.026 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.2104, allocations: 99.38 kB / 1.026 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.2105, allocations: 39.97 kB / 1.026 GB, free: 13.21 MB / 0.9948 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003201/0.2108, allocations: 203.1 kB / 1.026 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.211, allocations: 103.9 kB / 1.026 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.2124, allocations: 0.7792 MB / 1.027 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.2124, allocations: 12 kB / 1.027 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2124, allocations: 3.938 kB / 1.027 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2124, allocations: 15.91 kB / 1.027 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.2147, allocations: 1.505 MB / 1.028 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2147, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.2154, allocations: 238.5 kB / 1.028 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.2158, allocations: 112.7 kB / 1.029 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.2159, allocations: 27.97 kB / 1.029 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000913/0.2168, allocations: 1.328 MB / 1.03 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2168, allocations: 3.984 kB / 1.03 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.2175, allocations: 0.6935 MB / 1.031 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.2178, allocations: 198.9 kB / 1.031 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.2179, allocations: 24 kB / 1.031 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2182, allocations: 62.45 kB / 1.031 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.2183, allocations: 77.16 kB / 1.031 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.2184, allocations: 39.95 kB / 1.031 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002354/0.2186, allocations: 316.5 kB / 1.031 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2186, allocations: 4 kB / 1.031 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000975/0.2196, allocations: 0.5142 MB / 1.032 GB, free: 6.789 MB / 0.9948 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.00165/0.2213, allocations: 0.8388 MB / 1.033 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008725/0.2221, allocations: 0.653 MB / 1.033 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.2221, allocations: 12.81 kB / 1.033 GB, free: 5.543 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.2226, allocations: 449.3 kB / 1.034 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.2236, allocations: 478.1 kB / 1.034 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.2266, allocations: 2.15 MB / 1.036 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2268, allocations: 272.2 kB / 1.036 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007596/0.2275, allocations: 269.1 kB / 1.037 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00089/0.2284, allocations: 462.9 kB / 1.037 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of SimCode: time 1.843e-06/0.2284, allocations: 0 / 1.037 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.4049/0.6333, allocations: 24.76 MB / 1.061 GB, free: 78.6 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 -s gbode -gbm=radauIIA3 -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: 6.774956772103906]