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.001037/0.001037, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001634/0.001634, allocations: 169 kB / 23.82 MB, free: 0.7422 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 0.9244/0.9244, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.697/1.697, allocations: 359 MB / 0.6052 GB, free: 11.03 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 2.134e-06/2.134e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.274e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1648/0.1648, allocations: 150.2 MB / 0.9338 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1781, allocations: 11.26 MB / 0.9448 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.1796, allocations: 43.62 kB / 0.9448 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.1809, allocations: 345 kB / 0.9451 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.1838, allocations: 1.103 MB / 0.9462 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.187, allocations: 1.503 MB / 0.9477 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.1899, allocations: 2.624 MB / 0.9502 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.1918, allocations: 1.315 MB / 0.9515 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.1954, allocations: 1.732 MB / 0.9532 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.1964, allocations: 0.7166 MB / 0.9539 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.1968, allocations: 168 kB / 0.9541 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.1987, allocations: 0.9474 MB / 0.955 GB, free: 36 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.1991, allocations: 0.5062 MB / 0.9555 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.1999, allocations: 0.5923 MB / 0.9561 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.2032, allocations: 2.013 MB / 0.958 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2032, allocations: 0 / 0.958 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2032, allocations: 0 / 0.958 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.2032, allocations: 0 / 0.958 GB, free: 12.91 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.002577/0.2058, allocations: 2.11 MB / 0.9601 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2058, allocations: 8.031 kB / 0.9601 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2077, allocations: 0.6418 MB / 0.9607 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.209, allocations: 0.9993 MB / 0.9617 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.209, allocations: 110.7 kB / 0.9618 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2092, allocations: 144 kB / 0.9619 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.211, allocations: 1.627 MB / 0.9635 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.211, allocations: 4 kB / 0.9635 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.2111, allocations: 59.94 kB / 0.9636 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.2111, allocations: 36 kB / 0.9636 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.2125, allocations: 1.038 MB / 0.9646 GB, free: 5.84 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.004789/0.2173, allocations: 4.107 MB / 0.9687 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.2185, allocations: 0.7624 MB / 0.9694 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.2189, allocations: 274.5 kB / 0.9697 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.2192, allocations: 88.91 kB / 0.9697 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/0.2199, allocations: 0.863 MB / 0.9706 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=115): time 4.809e-06/0.22, allocations: 3.984 kB / 0.9706 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115): time 0.002193/0.2221, allocations: 1.101 MB / 0.9717 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.2222, allocations: 212.8 kB / 0.9719 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.2229, allocations: 0.7219 MB / 0.9726 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.2231, allocations: 53.7 kB / 0.9726 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.2236, allocations: 0.6522 MB / 0.9733 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.2238, allocations: 400.6 kB / 0.9736 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.2241, allocations: 232.5 kB / 0.9739 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2242, allocations: 0.5199 MB / 0.9744 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.2246, allocations: 202.5 kB / 0.9746 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.225, allocations: 0.5332 MB / 0.9751 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/0.2258, allocations: 0.6258 MB / 0.9757 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2258, allocations: 0 / 0.9757 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001449/0.2273, allocations: 0.9408 MB / 0.9766 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2273, allocations: 8 kB / 0.9766 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2273, allocations: 0 / 0.9766 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.2278, allocations: 132 kB / 0.9768 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.2284, allocations: 271.6 kB / 0.977 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.23, allocations: 1.901 MB / 0.9789 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.2306, allocations: 115.4 kB / 0.979 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.2306, allocations: 59.95 kB / 0.979 GB, free: 6.488 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.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.0004308/0.2311, allocations: 234.9 kB / 0.9793 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.2313, allocations: 155.3 kB / 0.9794 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.233, allocations: 1.09 MB / 0.9805 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.233, allocations: 12 kB / 0.9805 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.233, allocations: 0 / 0.9805 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.233, allocations: 3.984 kB / 0.9805 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.2361, allocations: 2.17 MB / 0.9826 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2361, allocations: 3.984 kB / 0.9826 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.2366, allocations: 219.7 kB / 0.9828 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/0.237, allocations: 119.6 kB / 0.9829 GB, free: 2.402 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.2371, allocations: 31.97 kB / 0.983 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.2383, allocations: 1.929 MB / 0.9848 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2383, allocations: 0 / 0.9848 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2397, allocations: 1.088 MB / 0.9859 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.2401, allocations: 270.7 kB / 0.9862 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2402, allocations: 28 kB / 0.9862 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.2406, allocations: 58.14 kB / 0.9862 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.2407, allocations: 85.16 kB / 0.9863 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.209e-05/0.2408, allocations: 59.89 kB / 0.9864 GB, free: 14.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006002/0.2414, allocations: 458.9 kB / 0.9868 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2414, allocations: 0 / 0.9868 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001277/0.2427, allocations: 0.522 MB / 0.9873 GB, free: 13.75 MB / 0.948 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.001662/0.2443, allocations: 0.7151 MB / 0.988 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.2458, allocations: 0.8627 MB / 0.9889 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2458, allocations: 0 / 0.9889 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.2464, allocations: 0.5658 MB / 0.9894 GB, free: 11.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.2476, allocations: 499 kB / 0.9899 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.2515, allocations: 2.184 MB / 0.992 GB, free: 9.035 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2518, allocations: 276.3 kB / 0.9923 GB, free: 8.742 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00101/0.2528, allocations: 364.8 kB / 0.9926 GB, free: 8.383 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.2531, allocations: 144.4 kB / 0.9928 GB, free: 8.242 MB / 0.948 GB Notification: Performance of SimCode: time 3.637e-06/0.2531, allocations: 0 / 0.9928 GB, free: 8.242 MB / 0.948 GB Notification: Performance of Templates: time 0.03486/0.288, allocations: 24.43 MB / 1.017 GB, free: 260 kB / 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: 5.93567422311753]