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.001073/0.001073, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001118/0.001118, allocations: 173 kB / 24.28 MB, free: 272 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.9432/0.9432, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.764e-06/1.764e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.956e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1524/0.1524, allocations: 173.1 MB / 0.9806 GB, free: 4.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.1653, allocations: 13.17 MB / 0.9934 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1666, allocations: 39.69 kB / 0.9935 GB, free: 7.168 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1677, allocations: 484.2 kB / 0.9939 GB, free: 6.691 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.1703, allocations: 1.091 MB / 0.995 GB, free: 5.594 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.1743, allocations: 1.935 MB / 0.9969 GB, free: 3.652 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002795/0.1771, allocations: 2.625 MB / 0.9994 GB, free: 1.02 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.1788, allocations: 1.326 MB / 1.001 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.1825, allocations: 2.149 MB / 1.003 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.1834, allocations: 0.7283 MB / 1.004 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.1837, allocations: 180 kB / 1.004 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.1857, allocations: 1.309 MB / 1.005 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.186, allocations: 0.5179 MB / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.1866, allocations: 0.6157 MB / 1.006 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.1898, allocations: 2.219 MB / 1.008 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1898, allocations: 0 / 1.008 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1898, allocations: 0 / 1.008 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.1898, allocations: 0 / 1.008 GB, free: 7.992 MB / 0.9636 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.002565/0.1924, allocations: 2.148 MB / 1.01 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1925, allocations: 8.031 kB / 1.01 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.1947, allocations: 0.6418 MB / 1.011 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.196, allocations: 1.01 MB / 1.012 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.1961, allocations: 110.8 kB / 1.012 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.1963, allocations: 148 kB / 1.012 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.1981, allocations: 1.696 MB / 1.014 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1982, allocations: 4 kB / 1.014 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.1982, allocations: 60 kB / 1.014 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.1983, allocations: 32 kB / 1.014 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.1996, allocations: 1.034 MB / 1.015 GB, free: 0.7891 MB / 0.9636 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.00449/0.2041, allocations: 4.162 MB / 1.019 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2054, allocations: 0.7719 MB / 1.02 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.2057, allocations: 267.1 kB / 1.02 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.2061, allocations: 112.9 kB / 1.02 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.2069, allocations: 0.8746 MB / 1.021 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 4.368e-06/0.2069, allocations: 4 kB / 1.021 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.002159/0.209, allocations: 1.108 MB / 1.022 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.2091, allocations: 196.9 kB / 1.022 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.2098, allocations: 0.7336 MB / 1.023 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.2098, allocations: 57.7 kB / 1.023 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.2102, allocations: 0.6638 MB / 1.024 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.2104, allocations: 392.7 kB / 1.024 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.2108, allocations: 240.5 kB / 1.024 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2109, allocations: 0.5276 MB / 1.025 GB, free: 6.395 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.2113, allocations: 198.5 kB / 1.025 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.2118, allocations: 0.6062 MB / 1.026 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.2126, allocations: 0.6258 MB / 1.026 GB, free: 4.797 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2126, allocations: 0 / 1.026 GB, free: 4.797 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001383/0.214, allocations: 0.941 MB / 1.027 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.214, allocations: 4 kB / 1.027 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.214, allocations: 4 kB / 1.027 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000492/0.2145, allocations: 135.9 kB / 1.027 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.2151, allocations: 271.6 kB / 1.028 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2165, allocations: 1.91 MB / 1.029 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.217, allocations: 103.3 kB / 1.03 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.2171, allocations: 55.97 kB / 1.03 GB, free: 1.238 MB / 0.9792 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.00033/0.2174, allocations: 235.2 kB / 1.03 GB, free: 0.9961 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.2176, allocations: 167.1 kB / 1.03 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.2192, allocations: 1.087 MB / 1.031 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.2192, allocations: 15.98 kB / 1.031 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2192, allocations: 0 / 1.031 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2192, allocations: 3.984 kB / 1.031 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.222, allocations: 2.185 MB / 1.033 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.222, allocations: 0 / 1.033 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.2225, allocations: 219.7 kB / 1.033 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.2228, allocations: 115.6 kB / 1.033 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.2229, allocations: 35.97 kB / 1.034 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.224, allocations: 1.921 MB / 1.035 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.224, allocations: 3.938 kB / 1.035 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2254, allocations: 1.096 MB / 1.036 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.2257, allocations: 278.7 kB / 1.037 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2258, allocations: 28 kB / 1.037 GB, free: 9.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.2262, allocations: 58.77 kB / 1.037 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2264, allocations: 89.14 kB / 1.037 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.2264, allocations: 55.95 kB / 1.037 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004077/0.2268, allocations: 478.9 kB / 1.037 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2268, allocations: 0 / 1.037 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001252/0.2281, allocations: 0.5259 MB / 1.038 GB, free: 8.438 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 (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.001993/0.2301, allocations: 0.7282 MB / 1.039 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.2316, allocations: 0.8705 MB / 1.039 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2316, allocations: 0 / 1.039 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.2325, allocations: 0.5697 MB / 1.04 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.2341, allocations: 0.4999 MB / 1.041 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.2387, allocations: 2.2 MB / 1.043 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.239, allocations: 272.3 kB / 1.043 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001223/0.2402, allocations: 349 kB / 1.043 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.2406, allocations: 144.4 kB / 1.043 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of SimCode: time 1.813e-06/0.2406, allocations: 0 / 1.043 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of Templates: time 0.3524/0.593, allocations: 23.38 MB / 1.066 GB, free: 273.3 MB / 0.9948 GB " [Timeout remaining time 299] 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: 6.432586499955505]