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.001075/0.001075, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001013/0.001013, allocations: 170 kB / 23.27 MB, free: 1.223 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.9382/0.9382, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.251/2.251, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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.843e-06/1.843e-06, allocations: 0 / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.654e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1332/0.1333, allocations: 147.4 MB / 1.034 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1445, allocations: 11.09 MB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.1455, allocations: 43.62 kB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.1463, allocations: 345 kB / 1.045 GB, free: 10.28 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.1484, allocations: 1.091 MB / 1.046 GB, free: 9.18 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.1512, allocations: 1.503 MB / 1.047 GB, free: 7.672 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.1535, allocations: 2.585 MB / 1.05 GB, free: 5.074 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.1549, allocations: 1.255 MB / 1.051 GB, free: 3.77 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.1573, allocations: 1.716 MB / 1.053 GB, free: 2.148 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.1579, allocations: 0.701 MB / 1.054 GB, free: 1.445 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.1581, allocations: 168 kB / 1.054 GB, free: 1.281 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.1598, allocations: 0.9474 MB / 1.055 GB, free: 340 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.4776/0.6374, allocations: 0.4928 MB / 1.055 GB, free: 52.51 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.6385, allocations: 0.6003 MB / 1.056 GB, free: 52.51 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.6417, allocations: 2.009 MB / 1.058 GB, free: 52.45 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6417, allocations: 0 / 1.058 GB, free: 52.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6417, allocations: 0 / 1.058 GB, free: 52.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.604e-05/0.6418, allocations: 3.188 kB / 1.058 GB, free: 52.45 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.002558/0.6444, allocations: 2.105 MB / 1.06 GB, free: 51.39 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.6444, allocations: 8.672 kB / 1.06 GB, free: 51.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.6462, allocations: 0.6406 MB / 1.06 GB, free: 51.21 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6473, allocations: 0.9793 MB / 1.061 GB, free: 50.89 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.6474, allocations: 114.9 kB / 1.061 GB, free: 50.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6475, allocations: 143.6 kB / 1.062 GB, free: 50.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6486, allocations: 1.527 MB / 1.063 GB, free: 50.05 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.6487, allocations: 3.562 kB / 1.063 GB, free: 50.05 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.6487, allocations: 63.39 kB / 1.063 GB, free: 50.05 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6488, allocations: 34.38 kB / 1.063 GB, free: 50.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.6496, allocations: 0.8774 MB / 1.064 GB, free: 50.01 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.003537/0.6531, allocations: 3.922 MB / 1.068 GB, free: 48.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008825/0.654, allocations: 0.6915 MB / 1.068 GB, free: 48.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.6543, allocations: 226.2 kB / 1.069 GB, free: 48.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.6545, allocations: 122.5 kB / 1.069 GB, free: 48.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.6551, allocations: 0.83 MB / 1.07 GB, free: 47.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 3.667e-06/0.6551, allocations: 0.875 kB / 1.07 GB, free: 47.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.001641/0.6567, allocations: 0.9896 MB / 1.071 GB, free: 47.47 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.6568, allocations: 199 kB / 1.071 GB, free: 47.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.6573, allocations: 0.7004 MB / 1.071 GB, free: 47.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.6573, allocations: 54.45 kB / 1.072 GB, free: 47.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.6576, allocations: 0.6625 MB / 1.072 GB, free: 46.67 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.6578, allocations: 397 kB / 1.073 GB, free: 46.42 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.658, allocations: 242.5 kB / 1.073 GB, free: 46.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.6581, allocations: 0.5311 MB / 1.073 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6583, allocations: 149 kB / 1.073 GB, free: 45.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.6586, allocations: 0.4937 MB / 1.074 GB, free: 45.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.6591, allocations: 0.5482 MB / 1.074 GB, free: 45.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6591, allocations: 7.188 kB / 1.074 GB, free: 45.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001001/0.6601, allocations: 0.8313 MB / 1.075 GB, free: 45.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6601, allocations: 11.88 kB / 1.075 GB, free: 45.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6601, allocations: 4.984 kB / 1.075 GB, free: 45.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.6605, allocations: 126.2 kB / 1.075 GB, free: 45.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.6611, allocations: 274.4 kB / 1.076 GB, free: 45.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.6622, allocations: 1.885 MB / 1.078 GB, free: 43.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.6627, allocations: 107 kB / 1.078 GB, free: 43.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.6627, allocations: 45.95 kB / 1.078 GB, free: 43.44 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.0003136/0.663, allocations: 233 kB / 1.078 GB, free: 43.28 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.6632, allocations: 163.1 kB / 1.078 GB, free: 43.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.6644, allocations: 0.9921 MB / 1.079 GB, free: 43.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.6644, allocations: 13.81 kB / 1.079 GB, free: 43.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.6644, allocations: 0.9375 kB / 1.079 GB, free: 43.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6644, allocations: 6.375 kB / 1.079 GB, free: 43.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.6665, allocations: 1.9 MB / 1.081 GB, free: 42.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6665, allocations: 5.125 kB / 1.081 GB, free: 42.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.6669, allocations: 219.5 kB / 1.081 GB, free: 42.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.6673, allocations: 116.9 kB / 1.081 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.6673, allocations: 40.72 kB / 1.081 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008051/0.6681, allocations: 1.883 MB / 1.083 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6681, allocations: 0.9062 kB / 1.083 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6691, allocations: 1.005 MB / 1.084 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.6694, allocations: 268.5 kB / 1.084 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.918e-05/0.6695, allocations: 28.86 kB / 1.084 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.6699, allocations: 57.05 kB / 1.084 GB, free: 40.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.67, allocations: 91.34 kB / 1.084 GB, free: 40.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.67, allocations: 39.98 kB / 1.085 GB, free: 40.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002567/0.6703, allocations: 435 kB / 1.085 GB, free: 40.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6703, allocations: 1.203 kB / 1.085 GB, free: 40.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001164/0.6714, allocations: 0.5165 MB / 1.085 GB, free: 40.31 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.001341/0.6728, allocations: 0.7136 MB / 1.086 GB, free: 40.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009094/0.6737, allocations: 0.776 MB / 1.087 GB, free: 39.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6737, allocations: 2.469 kB / 1.087 GB, free: 39.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.6741, allocations: 0.5353 MB / 1.087 GB, free: 39.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6752, allocations: 476.1 kB / 1.088 GB, free: 39.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.6783, allocations: 2.148 MB / 1.09 GB, free: 38.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.6785, allocations: 271 kB / 1.09 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008304/0.6794, allocations: 277.7 kB / 1.09 GB, free: 38.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/0.6803, allocations: 0.5327 MB / 1.091 GB, free: 38.48 MB / 1.01 GB Notification: Performance of SimCode: time 2.054e-06/0.6803, allocations: 0.9062 kB / 1.091 GB, free: 38.48 MB / 1.01 GB Notification: Performance of Templates: time 0.03804/0.7183, allocations: 24.76 MB / 1.115 GB, free: 35.98 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.419228988233954]