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.0009756/0.0009756, allocations: 80.75 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.001172/0.001172, allocations: 181 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 0.9963/0.9963, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.344/2.344, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 1.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.402e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1628/0.1628, allocations: 149.5 MB / 0.9846 GB, free: 8.145 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1772, allocations: 11.27 MB / 0.9956 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1784, allocations: 47.62 kB / 0.9956 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1795, allocations: 349 kB / 0.9959 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.1825, allocations: 1.087 MB / 0.997 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.1858, allocations: 1.511 MB / 0.9985 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.1888, allocations: 2.578 MB / 1.001 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.1907, allocations: 1.283 MB / 1.002 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.1944, allocations: 1.705 MB / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.1955, allocations: 0.6932 MB / 1.005 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.1957, allocations: 168 kB / 1.005 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.1979, allocations: 0.9357 MB / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.1984, allocations: 0.5101 MB / 1.006 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.199, allocations: 0.5962 MB / 1.007 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.2019, allocations: 2.009 MB / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2019, allocations: 0 / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2019, allocations: 0 / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.849e-05/0.202, allocations: 0 / 1.009 GB, free: 15.36 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.002561/0.2045, allocations: 1.94 MB / 1.011 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2046, allocations: 8.922 kB / 1.011 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.2068, allocations: 0.6037 MB / 1.011 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.2082, allocations: 0.812 MB / 1.012 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.2082, allocations: 106.8 kB / 1.012 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2084, allocations: 148 kB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2097, allocations: 1.518 MB / 1.014 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.2097, allocations: 3.938 kB / 1.014 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.2098, allocations: 60 kB / 1.014 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2098, allocations: 36 kB / 1.014 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.2106, allocations: 0.7652 MB / 1.015 GB, free: 9.078 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.00364/0.2142, allocations: 2.952 MB / 1.017 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.215, allocations: 0.6046 MB / 1.018 GB, free: 5.445 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2152, allocations: 203.7 kB / 1.018 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.2155, allocations: 92.91 kB / 1.018 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.216, allocations: 0.801 MB / 1.019 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 2.535e-06/0.216, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.001288/0.2173, allocations: 0.7371 MB / 1.02 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.2174, allocations: 204.8 kB / 1.02 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.2179, allocations: 0.6419 MB / 1.021 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.2179, allocations: 53.7 kB / 1.021 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.2182, allocations: 0.5067 MB / 1.021 GB, free: 2.027 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.2184, allocations: 392.6 kB / 1.022 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.2186, allocations: 214.8 kB / 1.022 GB, free: 1.422 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.2187, allocations: 349.8 kB / 1.022 GB, free: 1.074 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2189, allocations: 137.4 kB / 1.022 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.2192, allocations: 415.6 kB / 1.023 GB, free: 468 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.2197, allocations: 0.5064 MB / 1.023 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2197, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0008087/0.2205, allocations: 0.6216 MB / 1.024 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.2206, allocations: 9.875 kB / 1.024 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2206, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.221, allocations: 132.7 kB / 1.024 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.2219, allocations: 263.6 kB / 1.024 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2229, allocations: 1.316 MB / 1.025 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.2233, allocations: 111.3 kB / 1.026 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.2234, allocations: 35.97 kB / 1.026 GB, free: 13.32 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.0003469/0.2237, allocations: 199 kB / 1.026 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.2239, allocations: 107.9 kB / 1.026 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2249, allocations: 0.7753 MB / 1.027 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2249, allocations: 12 kB / 1.027 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2249, allocations: 7.938 kB / 1.027 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2249, allocations: 7.969 kB / 1.027 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.2268, allocations: 1.501 MB / 1.028 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2268, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.2273, allocations: 211.7 kB / 1.028 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.2276, allocations: 108.8 kB / 1.028 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.2276, allocations: 31.97 kB / 1.028 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008644/0.2285, allocations: 1.324 MB / 1.03 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2285, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.2293, allocations: 0.6947 MB / 1.03 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.2296, allocations: 198.9 kB / 1.031 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.2297, allocations: 23.98 kB / 1.031 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.23, allocations: 54.61 kB / 1.031 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2301, allocations: 89.08 kB / 1.031 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.2301, allocations: 35.97 kB / 1.031 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005516/0.2307, allocations: 319.3 kB / 1.031 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2307, allocations: 0 / 1.031 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001025/0.2317, allocations: 0.522 MB / 1.032 GB, free: 6.938 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.001617/0.2333, allocations: 0.8376 MB / 1.032 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00093/0.2343, allocations: 0.6613 MB / 1.033 GB, free: 5.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.2343, allocations: 8 kB / 1.033 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.2347, allocations: 445.3 kB / 1.034 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2357, allocations: 480 kB / 1.034 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2387, allocations: 2.139 MB / 1.036 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2389, allocations: 272.2 kB / 1.036 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.2396, allocations: 273.1 kB / 1.037 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.2405, allocations: 458.9 kB / 1.037 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of SimCode: time 1.643e-06/0.2405, allocations: 0 / 1.037 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of Templates: time 0.4231/0.6635, allocations: 24.77 MB / 1.061 GB, free: 78.7 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 -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.72491016285494]