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.001522/0.001522, allocations: 81.95 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.001185/0.001185, allocations: 166 kB / 24.87 MB, free: 9.258 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.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.837/1.837, allocations: 377.9 MB / 0.6247 GB, free: 8.371 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.744e-06/1.744e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.691e-05, allocations: 2.812 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1472/0.1473, allocations: 147.4 MB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1577, allocations: 11.12 MB / 0.9676 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.1585, allocations: 43.62 kB / 0.9676 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.1592, allocations: 345 kB / 0.9679 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1611, allocations: 1.095 MB / 0.969 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1631, allocations: 1.511 MB / 0.9705 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1647, allocations: 2.601 MB / 0.973 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1658, allocations: 1.326 MB / 0.9743 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.1679, allocations: 1.705 MB / 0.976 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.1685, allocations: 0.7049 MB / 0.9767 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.1686, allocations: 168 kB / 0.9768 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1696, allocations: 0.9396 MB / 0.9778 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.1699, allocations: 0.5101 MB / 0.9783 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.1703, allocations: 0.6001 MB / 0.9788 GB, free: 6.867 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.172, allocations: 2.009 MB / 0.9808 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.172, allocations: 0 / 0.9808 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.172, allocations: 0 / 0.9808 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.172, allocations: 4 kB / 0.9808 GB, free: 4.848 MB / 0.9323 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.001874/0.1739, allocations: 2.113 MB / 0.9829 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1739, allocations: 15.97 kB / 0.9829 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.1756, allocations: 0.6418 MB / 0.9835 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1766, allocations: 0.9837 MB / 0.9845 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/0.1767, allocations: 106.8 kB / 0.9846 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.1768, allocations: 144 kB / 0.9847 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.178, allocations: 1.537 MB / 0.9862 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.178, allocations: 4 kB / 0.9862 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.1781, allocations: 67.92 kB / 0.9863 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1781, allocations: 32 kB / 0.9863 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.179, allocations: 0.8708 MB / 0.9872 GB, free: 14.04 MB / 0.948 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.003517/0.1825, allocations: 3.935 MB / 0.991 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008852/0.1834, allocations: 0.6918 MB / 0.9917 GB, free: 9.316 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.1837, allocations: 230.5 kB / 0.9919 GB, free: 9.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.1839, allocations: 96.91 kB / 0.992 GB, free: 8.992 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.1845, allocations: 0.8238 MB / 0.9928 GB, free: 8.059 MB / 0.948 GB Notification: Performance of pre-optimization done (n=115): time 2.154e-06/0.1845, allocations: 0 / 0.9928 GB, free: 8.059 MB / 0.948 GB Notification: Performance of matching and sorting (n=115): time 0.001608/0.1861, allocations: 0.995 MB / 0.9938 GB, free: 7.055 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1861, allocations: 204.9 kB / 0.994 GB, free: 6.812 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.1866, allocations: 0.6981 MB / 0.9946 GB, free: 6.102 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.1867, allocations: 53.7 kB / 0.9947 GB, free: 6.043 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.187, allocations: 0.6676 MB / 0.9953 GB, free: 5.367 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.1872, allocations: 400.5 kB / 0.9957 GB, free: 4.973 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.1874, allocations: 240.4 kB / 0.996 GB, free: 4.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1875, allocations: 0.5276 MB / 0.9965 GB, free: 4.195 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.1879, allocations: 158.5 kB / 0.9966 GB, free: 4.039 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1882, allocations: 0.4929 MB / 0.9971 GB, free: 3.453 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.1888, allocations: 0.5476 MB / 0.9976 GB, free: 2.852 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1888, allocations: 0 / 0.9976 GB, free: 2.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001082/0.1899, allocations: 0.8436 MB / 0.9985 GB, free: 1.996 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1899, allocations: 8 kB / 0.9985 GB, free: 1.988 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1899, allocations: 7.938 kB / 0.9985 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.1903, allocations: 131.5 kB / 0.9986 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.1909, allocations: 267.7 kB / 0.9989 GB, free: 1.586 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.192, allocations: 1.878 MB / 1.001 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.1924, allocations: 107.3 kB / 1.001 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.1925, allocations: 43.97 kB / 1.001 GB, free: 15.45 MB / 0.9636 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.0002507/0.1927, allocations: 250.8 kB / 1.001 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.1929, allocations: 147.3 kB / 1.001 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.1942, allocations: 1.001 MB / 1.002 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1942, allocations: 19.98 kB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1942, allocations: 3.938 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1942, allocations: 7.969 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.1964, allocations: 1.916 MB / 1.004 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1964, allocations: 0 / 1.004 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.1969, allocations: 219.7 kB / 1.004 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.1972, allocations: 111.6 kB / 1.004 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.1972, allocations: 39.97 kB / 1.004 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.1982, allocations: 1.891 MB / 1.006 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1982, allocations: 4.062 kB / 1.006 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1993, allocations: 1.006 MB / 1.007 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.1996, allocations: 262.8 kB / 1.008 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.1997, allocations: 31.98 kB / 1.008 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2, allocations: 47.97 kB / 1.008 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2001, allocations: 89.14 kB / 1.008 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.2002, allocations: 47.95 kB / 1.008 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002575/0.2004, allocations: 438.7 kB / 1.008 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2004, allocations: 0 / 1.008 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007415/0.2012, allocations: 0.5297 MB / 1.009 GB, free: 7.188 MB / 0.9636 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.001231/0.2024, allocations: 0.6885 MB / 1.009 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008267/0.2032, allocations: 0.776 MB / 1.01 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2032, allocations: 4 kB / 1.01 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.2037, allocations: 0.5274 MB / 1.011 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.2048, allocations: 0.5011 MB / 1.011 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.2072, allocations: 2.158 MB / 1.013 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.2074, allocations: 276.3 kB / 1.013 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005757/0.208, allocations: 273.1 kB / 1.014 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/0.2088, allocations: 0.5408 MB / 1.014 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/0.2088, allocations: 0 / 1.014 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of Templates: time 0.02635/0.2352, allocations: 25.33 MB / 1.039 GB, free: 8.672 MB / 0.9948 GB " [Timeout remaining time 300] 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.378600954078138]