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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 9.406 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1595/0.411, allocations: 160.6 MB / 1.215 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.4252, allocations: 11.9 MB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009369/0.4262, allocations: 27.81 kB / 1.227 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009239/0.4271, allocations: 333.6 kB / 1.227 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.4293, allocations: 0.8633 MB / 1.228 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.4328, allocations: 1.374 MB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.4354, allocations: 2.535 MB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.437, allocations: 1.157 MB / 1.233 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.439, allocations: 1.058 MB / 1.234 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008551/0.4399, allocations: 0.6999 MB / 1.234 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.44, allocations: 47.98 kB / 1.234 GB, free: 252 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.442, allocations: 0.8852 MB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.4423, allocations: 338.7 kB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.4427, allocations: 308.9 kB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4448, allocations: 1.944 MB / 1.238 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4448, allocations: 4 kB / 1.238 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4448, allocations: 0 / 1.238 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.4448, allocations: 0 / 1.238 GB, free: 12.77 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.00284/0.4477, allocations: 1.717 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4477, allocations: 8.031 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.4502, allocations: 421.5 kB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4517, allocations: 0.9573 MB / 1.241 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.4518, allocations: 94.72 kB / 1.241 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.4519, allocations: 132 kB / 1.241 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.4545, allocations: 1.529 MB / 1.242 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.4545, allocations: 0 / 1.242 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.4547, allocations: 56 kB / 1.243 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4547, allocations: 36 kB / 1.243 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.4573, allocations: 1.587 MB / 1.244 GB, free: 6.055 MB / 0.9981 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.006684/0.464, allocations: 5.347 MB / 1.249 GB, free: 396 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5311/0.9951, allocations: 1.514 MB / 1.251 GB, free: 21.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009463/0.996, allocations: 482.2 kB / 1.251 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007292/0.9968, allocations: 439.8 kB / 1.252 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.9983, allocations: 0.685 MB / 1.252 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 5.47e-06/0.9983, allocations: 0.8438 kB / 1.252 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107): time 0.004233/1.003, allocations: 1.68 MB / 1.254 GB, free: 20.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.003, allocations: 192.1 kB / 1.254 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.004, allocations: 0.8815 MB / 1.255 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.004, allocations: 53.59 kB / 1.255 GB, free: 20.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.004, allocations: 0.5912 MB / 1.256 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/1.004, allocations: 357.2 kB / 1.256 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/1.005, allocations: 23.28 kB / 1.256 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.005, allocations: 346.8 kB / 1.256 GB, free: 19.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/1.005, allocations: 400.5 kB / 1.257 GB, free: 19.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/1.006, allocations: 0.5632 MB / 1.257 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/1.007, allocations: 463.7 kB / 1.258 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.007, allocations: 3.188 kB / 1.258 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002302/1.009, allocations: 1.231 MB / 1.259 GB, free: 19.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.009, allocations: 9.219 kB / 1.259 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.009, allocations: 6.672 kB / 1.259 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/1.01, allocations: 90.34 kB / 1.259 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.011, allocations: 255.6 kB / 1.259 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/1.013, allocations: 1.547 MB / 1.261 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.014, allocations: 163.8 kB / 1.261 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/1.014, allocations: 54.09 kB / 1.261 GB, free: 17.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005313/1.014, allocations: 348.5 kB / 1.261 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.014, allocations: 121.5 kB / 1.261 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/1.017, allocations: 1.439 MB / 1.263 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.017, allocations: 15.89 kB / 1.263 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.017, allocations: 0 / 1.263 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/1.018, allocations: 9.281 kB / 1.263 GB, free: 17.5 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.004613/1.022, allocations: 2.87 MB / 1.266 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.022, allocations: 0 / 1.266 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.023, allocations: 225.7 kB / 1.266 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/1.024, allocations: 86.7 kB / 1.266 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.501e-05/1.024, allocations: 32.92 kB / 1.266 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/1.025, allocations: 1.565 MB / 1.268 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.025, allocations: 3.953 kB / 1.268 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/1.028, allocations: 1.321 MB / 1.269 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/1.029, allocations: 366.9 kB / 1.269 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/1.029, allocations: 29.48 kB / 1.269 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/1.03, allocations: 133.4 kB / 1.269 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.03, allocations: 84.34 kB / 1.269 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.03, allocations: 51.33 kB / 1.269 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000869/1.031, allocations: 0.6117 MB / 1.27 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.031, allocations: 0 / 1.27 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00133/1.032, allocations: 497.8 kB / 1.271 GB, free: 15.08 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00156/1.034, allocations: 0.6919 MB / 1.271 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002633/1.037, allocations: 1.152 MB / 1.272 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.037, allocations: 1.656 kB / 1.272 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.038, allocations: 0.6829 MB / 1.273 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.04, allocations: 491.6 kB / 1.274 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/1.045, allocations: 2.932 MB / 1.276 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/1.045, allocations: 1.21 MB / 1.278 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001617/1.047, allocations: 393.5 kB / 1.278 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.047, allocations: 138 kB / 1.278 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.047, allocations: 1.344 kB / 1.278 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.03717/1.085, allocations: 22.71 MB / 1.3 GB, free: 10.77 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches