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.0009699/0.0009699, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001044/0.001044, allocations: 185.3 kB / 24.09 MB, free: 416 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.9054/0.9054, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.816/1.816, allocations: 359 MB / 0.6055 GB, free: 10.88 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.194e-06/2.194e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.465e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1517/0.1518, allocations: 147.4 MB / 0.9315 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1642, allocations: 11.11 MB / 0.9423 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.1654, allocations: 47.62 kB / 0.9424 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.1665, allocations: 341 kB / 0.9427 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.1687, allocations: 1.099 MB / 0.9438 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.1712, allocations: 1.507 MB / 0.9452 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.173, allocations: 2.617 MB / 0.9478 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1742, allocations: 1.33 MB / 0.9491 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.1765, allocations: 1.714 MB / 0.9508 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.1771, allocations: 0.7127 MB / 0.9515 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1772, allocations: 168 kB / 0.9516 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1785, allocations: 0.9435 MB / 0.9525 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.1788, allocations: 0.5023 MB / 0.953 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.1792, allocations: 0.604 MB / 0.9536 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.181, allocations: 2.016 MB / 0.9556 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.181, allocations: 0 / 0.9556 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.142e-06/0.181, allocations: 0 / 0.9556 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.181, allocations: 0 / 0.9556 GB, free: 15.62 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.001964/0.183, allocations: 2.117 MB / 0.9577 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1831, allocations: 12.03 kB / 0.9577 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.1847, allocations: 0.6496 MB / 0.9583 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009601/0.1857, allocations: 0.9837 MB / 0.9593 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.1857, allocations: 102.8 kB / 0.9594 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1858, allocations: 148 kB / 0.9595 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.1872, allocations: 1.537 MB / 0.961 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1872, allocations: 0 / 0.961 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.1873, allocations: 59.94 kB / 0.9611 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.1873, allocations: 36 kB / 0.9611 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/0.1881, allocations: 0.8825 MB / 0.962 GB, free: 8.785 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.003672/0.1918, allocations: 3.934 MB / 0.9658 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.1926, allocations: 0.6913 MB / 0.9665 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.1929, allocations: 226.5 kB / 0.9667 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.1931, allocations: 116.7 kB / 0.9668 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.1937, allocations: 0.8238 MB / 0.9676 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=115): time 2.735e-06/0.1937, allocations: 0 / 0.9676 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.001571/0.1953, allocations: 0.9912 MB / 0.9686 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.1954, allocations: 204.9 kB / 0.9688 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1959, allocations: 0.702 MB / 0.9694 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.1959, allocations: 57.64 kB / 0.9695 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.1963, allocations: 0.6637 MB / 0.9702 GB, free: 108 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.1968, allocations: 400.8 kB / 0.9705 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.197, allocations: 236.4 kB / 0.9708 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1972, allocations: 0.5276 MB / 0.9713 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1974, allocations: 154.5 kB / 0.9714 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1977, allocations: 0.4902 MB / 0.9719 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.1983, allocations: 0.5476 MB / 0.9724 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1983, allocations: 0 / 0.9724 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001027/0.1993, allocations: 0.8471 MB / 0.9733 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1993, allocations: 7.938 kB / 0.9733 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1993, allocations: 4 kB / 0.9733 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.1997, allocations: 135.7 kB / 0.9734 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.2003, allocations: 271.6 kB / 0.9737 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.2015, allocations: 1.883 MB / 0.9755 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.2018, allocations: 107.3 kB / 0.9756 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.2019, allocations: 43.97 kB / 0.9756 GB, free: 10.17 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.0002576/0.2022, allocations: 243 kB / 0.9759 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2023, allocations: 151.3 kB / 0.976 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2036, allocations: 1.001 MB / 0.977 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2036, allocations: 15.94 kB / 0.977 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2036, allocations: 0 / 0.977 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.2036, allocations: 11.97 kB / 0.977 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.206, allocations: 1.909 MB / 0.9789 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.206, allocations: 0 / 0.9789 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.2065, allocations: 219.7 kB / 0.9791 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.2068, allocations: 119.5 kB / 0.9792 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.2068, allocations: 31.97 kB / 0.9792 GB, free: 6.402 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.2079, allocations: 1.891 MB / 0.9811 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2079, allocations: 0 / 0.9811 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.209, allocations: 1.013 MB / 0.9821 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.2093, allocations: 258.8 kB / 0.9823 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.2094, allocations: 27.98 kB / 0.9824 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.2097, allocations: 61.33 kB / 0.9824 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2098, allocations: 89.08 kB / 0.9825 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.2099, allocations: 52.02 kB / 0.9825 GB, free: 2.875 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002779/0.2101, allocations: 430.8 kB / 0.983 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2101, allocations: 0 / 0.983 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001001/0.2112, allocations: 0.5259 MB / 0.9835 GB, free: 1.934 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.001461/0.2126, allocations: 0.7172 MB / 0.9842 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2139, allocations: 0.7689 MB / 0.9849 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2139, allocations: 8.062 kB / 0.9849 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.2144, allocations: 0.5228 MB / 0.9854 GB, free: 52 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2154, allocations: 494.4 kB / 0.9859 GB, free: 15.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.2181, allocations: 2.166 MB / 0.988 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.2183, allocations: 276.2 kB / 0.9883 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005687/0.2189, allocations: 273.2 kB / 0.9886 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000815/0.2197, allocations: 0.5407 MB / 0.9891 GB, free: 12.27 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/0.2197, allocations: 0 / 0.9891 GB, free: 12.27 MB / 0.948 GB Notification: Performance of Templates: time 0.03252/0.2522, allocations: 25 MB / 1.013 GB, free: 3.746 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.011502721812576]