Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001371/0.001371, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001586/0.001586, allocations: 170.2 kB / 24.87 MB, free: 9.191 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.018/1.018, allocations: 177.2 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.806/1.806, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.536e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1533/0.1534, allocations: 147.4 MB / 0.9322 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1663, allocations: 11.1 MB / 0.9431 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1676, allocations: 47.62 kB / 0.9431 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1686, allocations: 345 kB / 0.9434 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.1714, allocations: 1.103 MB / 0.9445 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.1751, allocations: 1.507 MB / 0.946 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.178, allocations: 2.62 MB / 0.9485 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.1798, allocations: 1.33 MB / 0.9498 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.1829, allocations: 1.706 MB / 0.9515 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1841, allocations: 0.7166 MB / 0.9522 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.1844, allocations: 168 kB / 0.9524 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1861, allocations: 0.9396 MB / 0.9533 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.1865, allocations: 0.5101 MB / 0.9538 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.1872, allocations: 0.5963 MB / 0.9544 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.1901, allocations: 2.012 MB / 0.9563 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1901, allocations: 4 kB / 0.9563 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1901, allocations: 4 kB / 0.9563 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.1901, allocations: 0 / 0.9563 GB, free: 15.65 MB / 0.9167 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.002394/0.1925, allocations: 2.105 MB / 0.9584 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1926, allocations: 12.03 kB / 0.9584 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.1944, allocations: 0.6418 MB / 0.959 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1956, allocations: 0.9876 MB / 0.96 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.1957, allocations: 106.8 kB / 0.9601 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1958, allocations: 147.9 kB / 0.9602 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1972, allocations: 1.529 MB / 0.9617 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1972, allocations: 0 / 0.9617 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.1973, allocations: 75.86 kB / 0.9618 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1973, allocations: 32 kB / 0.9618 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1984, allocations: 0.8786 MB / 0.9627 GB, free: 8.832 MB / 0.9167 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.004517/0.2029, allocations: 3.927 MB / 0.9665 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.2039, allocations: 0.6911 MB / 0.9672 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2041, allocations: 226.5 kB / 0.9674 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.2044, allocations: 96.91 kB / 0.9675 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/0.205, allocations: 0.8342 MB / 0.9683 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=115): time 2.535e-06/0.205, allocations: 3.938 kB / 0.9683 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.001753/0.2068, allocations: 0.9874 MB / 0.9693 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.2069, allocations: 208.8 kB / 0.9695 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.2074, allocations: 0.7019 MB / 0.9702 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.2075, allocations: 57.7 kB / 0.9702 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.2079, allocations: 0.6715 MB / 0.9709 GB, free: 160 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.2082, allocations: 396.8 kB / 0.9713 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.2084, allocations: 236.4 kB / 0.9715 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2085, allocations: 0.5276 MB / 0.972 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.2088, allocations: 150.5 kB / 0.9722 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.2091, allocations: 498 kB / 0.9726 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.2101, allocations: 0.5514 MB / 0.9732 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2101, allocations: 8 kB / 0.9732 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001246/0.2113, allocations: 0.8356 MB / 0.974 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2113, allocations: 7.984 kB / 0.974 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2114, allocations: 4 kB / 0.974 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.2118, allocations: 135.6 kB / 0.9741 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.2124, allocations: 271.6 kB / 0.9744 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.2138, allocations: 1.887 MB / 0.9762 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.2144, allocations: 111.3 kB / 0.9763 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.2144, allocations: 39.97 kB / 0.9764 GB, free: 10.23 MB / 0.9323 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.0004426/0.2149, allocations: 239 kB / 0.9766 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.2151, allocations: 155.3 kB / 0.9768 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2165, allocations: 1 MB / 0.9777 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2165, allocations: 19.92 kB / 0.9778 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2165, allocations: 0 / 0.9778 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2165, allocations: 7.969 kB / 0.9778 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.2191, allocations: 1.913 MB / 0.9796 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2191, allocations: 4 kB / 0.9796 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.2198, allocations: 215.7 kB / 0.9798 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.2201, allocations: 119.6 kB / 0.98 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.2202, allocations: 31.97 kB / 0.98 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.2213, allocations: 1.891 MB / 0.9818 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2213, allocations: 4 kB / 0.9818 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2227, allocations: 1.006 MB / 0.9828 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.2231, allocations: 258.9 kB / 0.9831 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2232, allocations: 35.97 kB / 0.9831 GB, free: 3.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.2236, allocations: 49.59 kB / 0.9831 GB, free: 3.082 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2238, allocations: 89.14 kB / 0.9832 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.2238, allocations: 47.95 kB / 0.9833 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003695/0.2242, allocations: 438.8 kB / 0.9837 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2242, allocations: 0 / 0.9837 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001216/0.2254, allocations: 0.522 MB / 0.9842 GB, free: 2.004 MB / 0.9323 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.001486/0.2269, allocations: 0.6901 MB / 0.9849 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2281, allocations: 0.7799 MB / 0.9856 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2281, allocations: 0 / 0.9856 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.2286, allocations: 0.5314 MB / 0.9862 GB, free: 132 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.2299, allocations: 498.8 kB / 0.9866 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2333, allocations: 2.166 MB / 0.9887 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2334, allocations: 276.2 kB / 0.989 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.2342, allocations: 277 kB / 0.9893 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/0.2352, allocations: 0.5408 MB / 0.9898 GB, free: 12.34 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/0.2352, allocations: 0 / 0.9898 GB, free: 12.34 MB / 0.948 GB Notification: Performance of Templates: time 0.03129/0.2664, allocations: 25.33 MB / 1.015 GB, free: 3.473 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.355889649130404]