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.001124/0.001124, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001827/0.001827, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.174/2.174, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.784e-06/1.784e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.525e-05, allocations: 3.094 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1466/0.1467, allocations: 150.2 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.1602, allocations: 11.24 MB / 1.036 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.1615, allocations: 43.62 kB / 1.036 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009835/0.1625, allocations: 341 kB / 1.036 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.1652, allocations: 1.087 MB / 1.037 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.1682, allocations: 1.507 MB / 1.039 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.171, allocations: 2.585 MB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.1729, allocations: 1.247 MB / 1.042 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.1759, allocations: 1.674 MB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.1769, allocations: 0.7283 MB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.1772, allocations: 180 kB / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.1789, allocations: 0.9591 MB / 1.046 GB, free: 9.969 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.1792, allocations: 0.5179 MB / 1.046 GB, free: 9.449 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.1798, allocations: 0.6157 MB / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.1824, allocations: 2.04 MB / 1.049 GB, free: 6.785 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1824, allocations: 0 / 1.049 GB, free: 6.785 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1824, allocations: 4 kB / 1.049 GB, free: 6.781 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.1824, allocations: 0 / 1.049 GB, free: 6.781 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.002427/0.1848, allocations: 2.105 MB / 1.051 GB, free: 4.625 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1849, allocations: 8.031 kB / 1.051 GB, free: 4.617 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.1867, allocations: 0.6418 MB / 1.052 GB, free: 3.973 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.188, allocations: 1.002 MB / 1.053 GB, free: 2.938 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.1881, allocations: 102.8 kB / 1.053 GB, free: 2.836 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1882, allocations: 152 kB / 1.053 GB, free: 2.688 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.1898, allocations: 1.708 MB / 1.055 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.1898, allocations: 3.938 kB / 1.055 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.1899, allocations: 60 kB / 1.055 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.19, allocations: 35.94 kB / 1.055 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4997/0.6897, allocations: 1.03 MB / 1.056 GB, free: 73.06 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.005603/0.6953, allocations: 4.141 MB / 1.06 GB, free: 71.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.6967, allocations: 0.7552 MB / 1.06 GB, free: 71.36 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.6971, allocations: 270.7 kB / 1.061 GB, free: 71.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.6975, allocations: 90.75 kB / 1.061 GB, free: 71.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000857/0.6983, allocations: 0.8699 MB / 1.062 GB, free: 70.81 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 3.576e-06/0.6983, allocations: 2.781 kB / 1.062 GB, free: 70.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.002504/0.7008, allocations: 1.11 MB / 1.063 GB, free: 70.67 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.7009, allocations: 209.6 kB / 1.063 GB, free: 70.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.7017, allocations: 0.7158 MB / 1.064 GB, free: 70.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.7018, allocations: 57.05 kB / 1.064 GB, free: 70.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.7022, allocations: 0.6636 MB / 1.064 GB, free: 69.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.7024, allocations: 390.2 kB / 1.065 GB, free: 69.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.7026, allocations: 237.3 kB / 1.065 GB, free: 69.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.7027, allocations: 0.5252 MB / 1.065 GB, free: 69.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.7031, allocations: 197.5 kB / 1.066 GB, free: 69.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.7036, allocations: 0.6089 MB / 1.066 GB, free: 68.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.7044, allocations: 0.6271 MB / 1.067 GB, free: 68.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7044, allocations: 3.688 kB / 1.067 GB, free: 68.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001547/0.7059, allocations: 0.9355 MB / 1.068 GB, free: 68.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.706, allocations: 11.44 kB / 1.068 GB, free: 68.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.706, allocations: 2.875 kB / 1.068 GB, free: 68.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.7065, allocations: 132.3 kB / 1.068 GB, free: 68.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.7071, allocations: 273.5 kB / 1.068 GB, free: 68.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.7085, allocations: 1.922 MB / 1.07 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.7091, allocations: 101.8 kB / 1.07 GB, free: 66.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.7092, allocations: 55.02 kB / 1.07 GB, free: 66.69 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0004404/0.7096, allocations: 240.2 kB / 1.07 GB, free: 66.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.7098, allocations: 159.8 kB / 1.071 GB, free: 66.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.7114, allocations: 1.086 MB / 1.072 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.7115, allocations: 13.69 kB / 1.072 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.7115, allocations: 0 / 1.072 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.7115, allocations: 7.781 kB / 1.072 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.7144, allocations: 2.175 MB / 1.074 GB, free: 65.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7144, allocations: 0.8438 kB / 1.074 GB, free: 65.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.7149, allocations: 221.2 kB / 1.074 GB, free: 65.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.7153, allocations: 117 kB / 1.074 GB, free: 65.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.7154, allocations: 36.27 kB / 1.074 GB, free: 65.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.7165, allocations: 1.921 MB / 1.076 GB, free: 64.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7165, allocations: 0.9375 kB / 1.076 GB, free: 64.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.718, allocations: 1.088 MB / 1.077 GB, free: 63.85 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.7184, allocations: 274.8 kB / 1.077 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7185, allocations: 29.06 kB / 1.077 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.7189, allocations: 63.77 kB / 1.077 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.719, allocations: 93.38 kB / 1.078 GB, free: 63.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.7191, allocations: 49.28 kB / 1.078 GB, free: 63.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004422/0.7196, allocations: 475.9 kB / 1.078 GB, free: 63.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7196, allocations: 0 / 1.078 GB, free: 63.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001242/0.7208, allocations: 0.5263 MB / 1.079 GB, free: 63.61 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.001671/0.7225, allocations: 0.709 MB / 1.079 GB, free: 63.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.7239, allocations: 0.8608 MB / 1.08 GB, free: 63.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.7239, allocations: 3.531 kB / 1.08 GB, free: 63.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.7245, allocations: 0.5709 MB / 1.081 GB, free: 63.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.7257, allocations: 489.7 kB / 1.081 GB, free: 63.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.7295, allocations: 2.182 MB / 1.083 GB, free: 62.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.7297, allocations: 270.8 kB / 1.084 GB, free: 61.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.7307, allocations: 351.7 kB / 1.084 GB, free: 61.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.731, allocations: 142.2 kB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of SimCode: time 2.164e-06/0.731, allocations: 1 kB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of Templates: time 0.03965/0.7707, allocations: 22.93 MB / 1.106 GB, free: 59.55 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: 7.11022839602083]