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.001209/0.001209, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001363/0.001363, allocations: 173 kB / 24.06 MB, free: 452 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.9089/0.9089, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.252e-06/1.252e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.79e-05, allocations: 3.812 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1327/0.1327, allocations: 147.4 MB / 1.023 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.148, allocations: 11.09 MB / 1.034 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1493, allocations: 43.62 kB / 1.034 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.1502, allocations: 345 kB / 1.035 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.1526, allocations: 1.079 MB / 1.036 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1554, allocations: 1.503 MB / 1.037 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.158, allocations: 2.585 MB / 1.04 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.1597, allocations: 1.251 MB / 1.041 GB, free: 132 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.1628, allocations: 1.721 MB / 1.042 GB, free: 14.48 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000956/0.1638, allocations: 0.701 MB / 1.043 GB, free: 13.78 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.1641, allocations: 168 kB / 1.043 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.1657, allocations: 0.9474 MB / 1.044 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.1661, allocations: 0.4984 MB / 1.045 GB, free: 12.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006462/0.1667, allocations: 0.6001 MB / 1.045 GB, free: 11.56 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.1693, allocations: 2.001 MB / 1.047 GB, free: 9.555 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1693, allocations: 0 / 1.047 GB, free: 9.555 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1693, allocations: 0 / 1.047 GB, free: 9.555 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.1693, allocations: 3.938 kB / 1.047 GB, free: 9.551 MB / 1.01 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.002242/0.1716, allocations: 2.113 MB / 1.049 GB, free: 7.387 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1716, allocations: 8.031 kB / 1.049 GB, free: 7.379 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.1734, allocations: 0.6418 MB / 1.05 GB, free: 6.734 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.1746, allocations: 0.9759 MB / 1.051 GB, free: 5.719 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.1747, allocations: 114.8 kB / 1.051 GB, free: 5.605 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.1748, allocations: 144 kB / 1.051 GB, free: 5.465 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.1761, allocations: 1.533 MB / 1.053 GB, free: 3.734 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1761, allocations: 0 / 1.053 GB, free: 3.734 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.1762, allocations: 63.98 kB / 1.053 GB, free: 3.672 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1763, allocations: 32 kB / 1.053 GB, free: 3.641 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.1772, allocations: 0.8747 MB / 1.054 GB, free: 2.75 MB / 1.01 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.4521/0.6293, allocations: 3.933 MB / 1.057 GB, free: 72.95 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6305, allocations: 0.6753 MB / 1.058 GB, free: 72.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.6308, allocations: 236.5 kB / 1.058 GB, free: 72.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.6312, allocations: 94.53 kB / 1.058 GB, free: 72.89 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.6318, allocations: 0.832 MB / 1.059 GB, free: 72.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 3.667e-06/0.6318, allocations: 0 / 1.059 GB, free: 72.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.002086/0.6339, allocations: 0.99 MB / 1.06 GB, free: 72.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.634, allocations: 200.1 kB / 1.06 GB, free: 72.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.6345, allocations: 0.6984 MB / 1.061 GB, free: 71.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.6346, allocations: 54.58 kB / 1.061 GB, free: 71.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.635, allocations: 0.6677 MB / 1.062 GB, free: 71.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.6352, allocations: 394.4 kB / 1.062 GB, free: 71.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.6355, allocations: 243.2 kB / 1.062 GB, free: 71.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.6356, allocations: 0.525 MB / 1.063 GB, free: 70.94 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.6358, allocations: 150.4 kB / 1.063 GB, free: 70.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.6362, allocations: 0.4907 MB / 1.064 GB, free: 70.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.6369, allocations: 0.5512 MB / 1.064 GB, free: 70.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6369, allocations: 3.75 kB / 1.064 GB, free: 70.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001375/0.6382, allocations: 0.8433 MB / 1.065 GB, free: 70.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6383, allocations: 8.219 kB / 1.065 GB, free: 70.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6383, allocations: 6.969 kB / 1.065 GB, free: 70.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.6388, allocations: 127.7 kB / 1.065 GB, free: 70.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.6396, allocations: 273.9 kB / 1.065 GB, free: 70.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.6408, allocations: 1.894 MB / 1.067 GB, free: 68.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.6415, allocations: 100.9 kB / 1.067 GB, free: 68.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.6415, allocations: 43.19 kB / 1.067 GB, free: 68.51 MB / 1.01 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.0003999/0.6419, allocations: 239.1 kB / 1.068 GB, free: 68.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6422, allocations: 156.3 kB / 1.068 GB, free: 68.29 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.6438, allocations: 0.9943 MB / 1.069 GB, free: 68.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6438, allocations: 14.22 kB / 1.069 GB, free: 68.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.6438, allocations: 0.875 kB / 1.069 GB, free: 68.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6438, allocations: 6.656 kB / 1.069 GB, free: 68.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.6464, allocations: 1.9 MB / 1.071 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6464, allocations: 0 / 1.071 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.647, allocations: 222.2 kB / 1.071 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.6475, allocations: 114.5 kB / 1.071 GB, free: 67.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.6475, allocations: 35.16 kB / 1.071 GB, free: 67.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.6486, allocations: 1.889 MB / 1.073 GB, free: 66.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6486, allocations: 3.375 kB / 1.073 GB, free: 66.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.6499, allocations: 1.011 MB / 1.074 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.6503, allocations: 263.5 kB / 1.074 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6504, allocations: 27.44 kB / 1.074 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.6509, allocations: 47.91 kB / 1.074 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.651, allocations: 88.31 kB / 1.074 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.6511, allocations: 48.14 kB / 1.074 GB, free: 65.66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003043/0.6514, allocations: 429.7 kB / 1.075 GB, free: 65.53 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6514, allocations: 3.188 kB / 1.075 GB, free: 65.53 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001083/0.6525, allocations: 0.5258 MB / 1.075 GB, free: 65.48 MB / 1.01 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.00151/0.654, allocations: 0.7056 MB / 1.076 GB, free: 65.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.6551, allocations: 0.7717 MB / 1.077 GB, free: 65.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6551, allocations: 3.219 kB / 1.077 GB, free: 65.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.6556, allocations: 0.533 MB / 1.077 GB, free: 64.94 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.657, allocations: 484.4 kB / 1.078 GB, free: 64.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.6602, allocations: 2.153 MB / 1.08 GB, free: 63.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.6604, allocations: 277.5 kB / 1.08 GB, free: 63.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009061/0.6613, allocations: 270.3 kB / 1.08 GB, free: 63.78 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.6624, allocations: 0.5294 MB / 1.081 GB, free: 63.71 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/0.6624, allocations: 0.9844 kB / 1.081 GB, free: 63.71 MB / 1.01 GB Notification: Performance of Templates: time 0.03751/0.6999, allocations: 25.1 MB / 1.105 GB, free: 61.21 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.786903603002429]