Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009413/0.0009413, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001642/0.001642, allocations: 161 kB / 24.17 MB, free: 332 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.9283/0.9283, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.555e-05, allocations: 5.125 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.135/0.135, allocations: 149.5 MB / 0.906 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.146, allocations: 11.29 MB / 0.9171 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.1466, allocations: 47.56 kB / 0.9171 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.1474, allocations: 348.9 kB / 0.9174 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.1492, allocations: 1.083 MB / 0.9185 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.1514, allocations: 1.511 MB / 0.92 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1536, allocations: 2.605 MB / 0.9225 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1549, allocations: 1.358 MB / 0.9238 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.157, allocations: 1.703 MB / 0.9255 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000572/0.1576, allocations: 0.6893 MB / 0.9262 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.1577, allocations: 168 kB / 0.9263 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.1588, allocations: 0.9357 MB / 0.9272 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.1591, allocations: 0.5101 MB / 0.9277 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.1595, allocations: 0.5963 MB / 0.9283 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1613, allocations: 2.012 MB / 0.9303 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1613, allocations: 0 / 0.9303 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1613, allocations: 0 / 0.9303 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1614, allocations: 0 / 0.9303 GB, free: 7.859 MB / 0.8855 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.00166/0.163, allocations: 1.948 MB / 0.9322 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.163, allocations: 12.03 kB / 0.9322 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.1645, allocations: 0.6037 MB / 0.9328 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.1654, allocations: 0.8198 MB / 0.9336 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.1655, allocations: 110.7 kB / 0.9337 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.1656, allocations: 148 kB / 0.9338 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1667, allocations: 1.518 MB / 0.9353 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1667, allocations: 0 / 0.9353 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.1668, allocations: 63.94 kB / 0.9354 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1668, allocations: 35.94 kB / 0.9354 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.1676, allocations: 0.7613 MB / 0.9362 GB, free: 1.559 MB / 0.8855 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.007553/0.1751, allocations: 2.956 MB / 0.939 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.1766, allocations: 0.6084 MB / 0.9396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.177, allocations: 203.7 kB / 0.9398 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.1774, allocations: 88.91 kB / 0.9399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/0.1783, allocations: 0.8049 MB / 0.9407 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=115): time 4.899e-06/0.1783, allocations: 0 / 0.9407 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.002329/0.1806, allocations: 0.7255 MB / 0.9414 GB, free: 12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.1808, allocations: 204.9 kB / 0.9416 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.1816, allocations: 0.6536 MB / 0.9422 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.1817, allocations: 57.7 kB / 0.9423 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.1822, allocations: 0.5067 MB / 0.9428 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.1826, allocations: 384.6 kB / 0.9432 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.1829, allocations: 222.7 kB / 0.9434 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.183, allocations: 357.8 kB / 0.9437 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1834, allocations: 129.4 kB / 0.9438 GB, free: 9.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.1839, allocations: 419.6 kB / 0.9442 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.1847, allocations: 0.5025 MB / 0.9447 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1847, allocations: 0 / 0.9447 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001499/0.1862, allocations: 0.6217 MB / 0.9453 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.1863, allocations: 11.94 kB / 0.9454 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1863, allocations: 4 kB / 0.9454 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.187, allocations: 128.7 kB / 0.9455 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.188, allocations: 263.6 kB / 0.9457 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1892, allocations: 1.313 MB / 0.947 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.1896, allocations: 117.3 kB / 0.9471 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.1897, allocations: 35.97 kB / 0.9472 GB, free: 5.801 MB / 0.9011 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.0003283/0.19, allocations: 195 kB / 0.9473 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.1901, allocations: 111.9 kB / 0.9475 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1911, allocations: 0.7831 MB / 0.9482 GB, free: 4.691 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1912, allocations: 12 kB / 0.9482 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1912, allocations: 0 / 0.9482 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1912, allocations: 7.922 kB / 0.9482 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.193, allocations: 1.524 MB / 0.9497 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.193, allocations: 0 / 0.9497 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.1935, allocations: 211.7 kB / 0.9499 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.1938, allocations: 108.8 kB / 0.95 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.1938, allocations: 35.97 kB / 0.9501 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008352/0.1947, allocations: 1.321 MB / 0.9514 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1947, allocations: 3.938 kB / 0.9514 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.1954, allocations: 0.6947 MB / 0.952 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.1957, allocations: 198.8 kB / 0.9522 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.1958, allocations: 27.98 kB / 0.9523 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.1961, allocations: 56.78 kB / 0.9523 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1963, allocations: 89.08 kB / 0.9524 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.1963, allocations: 36.09 kB / 0.9524 GB, free: 228 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002836/0.1966, allocations: 319.3 kB / 0.9527 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1966, allocations: 0 / 0.9527 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009007/0.1975, allocations: 0.5181 MB / 0.9532 GB, free: 15.39 MB / 0.9167 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 (126): * Single equations (assignments): 115 * 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.001658/0.1992, allocations: 0.8436 MB / 0.9541 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008084/0.2, allocations: 0.6648 MB / 0.9547 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.2, allocations: 8 kB / 0.9547 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.2004, allocations: 441.3 kB / 0.9551 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.2014, allocations: 0.5002 MB / 0.9556 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.204, allocations: 2.146 MB / 0.9577 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2042, allocations: 284.2 kB / 0.958 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006399/0.2049, allocations: 269.2 kB / 0.9582 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/0.2057, allocations: 454.9 kB / 0.9587 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/0.2057, allocations: 0 / 0.9587 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of Templates: time 0.02801/0.2337, allocations: 25.02 MB / 0.9831 GB, free: 1.465 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.863402236718684]