Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 194.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000864/0.000864, allocations: 93.86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 11.56 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.571/5.802, allocations: 2.219 GB / 3.119 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/5.802, allocations: 92.89 kB / 3.119 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.422/7.224, allocations: 395.9 MB / 3.506 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.817e-06/7.224, allocations: 0 / 3.506 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002205/7.225, allocations: 40.41 kB / 3.506 GB, free: 217.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005641/7.23, allocations: 1.76 MB / 3.508 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/7.23, allocations: 14.19 kB / 3.508 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/7.233, allocations: 393 kB / 3.508 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/7.237, allocations: 1.18 MB / 3.509 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.966e-05/7.237, allocations: 102.6 kB / 3.509 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/7.237, allocations: 124.9 kB / 3.509 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/7.24, allocations: 1.437 MB / 3.511 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/7.24, allocations: 4.5 kB / 3.511 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/7.24, allocations: 55.56 kB / 3.511 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/7.24, allocations: 35.98 kB / 3.511 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/7.243, allocations: 1.517 MB / 3.512 GB, free: 216.2 MB / 0.8855 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.006938/7.25, allocations: 4.964 MB / 3.517 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/7.252, allocations: 1.302 MB / 3.518 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/7.253, allocations: 426.9 kB / 3.519 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/7.254, allocations: 0.6459 MB / 3.52 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/7.254, allocations: 0 / 3.52 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=98): time 0.003965/7.258, allocations: 1.589 MB / 3.521 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/7.258, allocations: 246.9 kB / 3.521 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/7.259, allocations: 0.8011 MB / 3.522 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.406e-05/7.259, allocations: 47.95 kB / 3.522 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/7.26, allocations: 0.5643 MB / 3.523 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/7.26, allocations: 333 kB / 3.523 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/7.26, allocations: 17.5 kB / 3.523 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/7.26, allocations: 339.1 kB / 3.523 GB, free: 212 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/7.261, allocations: 357.1 kB / 3.524 GB, free: 212 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/7.262, allocations: 0.5447 MB / 3.524 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/7.262, allocations: 439.4 kB / 3.525 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/7.262, allocations: 0 / 3.525 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002236/7.265, allocations: 1.126 MB / 3.526 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/7.265, allocations: 10.47 kB / 3.526 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/7.265, allocations: 7.188 kB / 3.526 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/7.265, allocations: 87.59 kB / 3.526 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/7.266, allocations: 230.5 kB / 3.526 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/7.268, allocations: 1.54 MB / 3.528 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/7.269, allocations: 146.5 kB / 3.528 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/7.269, allocations: 45.77 kB / 3.528 GB, free: 210.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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.0007863/7.27, allocations: 329 kB / 3.528 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/7.27, allocations: 120.5 kB / 3.528 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/7.273, allocations: 1.372 MB / 3.53 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/7.273, allocations: 11.72 kB / 3.53 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/7.273, allocations: 0 / 3.53 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/7.273, allocations: 14.67 kB / 3.53 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/7.278, allocations: 2.678 MB / 3.532 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/7.278, allocations: 3.594 kB / 3.532 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/7.279, allocations: 215.6 kB / 3.532 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/7.279, allocations: 87.19 kB / 3.532 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/7.279, allocations: 31.89 kB / 3.532 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/7.281, allocations: 1.574 MB / 3.534 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/7.281, allocations: 3.125 kB / 3.534 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/7.283, allocations: 1.258 MB / 3.535 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006778/7.284, allocations: 375.7 kB / 3.536 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/7.284, allocations: 20.62 kB / 3.536 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/7.285, allocations: 104.9 kB / 3.536 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/7.285, allocations: 77.25 kB / 3.536 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/7.285, allocations: 46.28 kB / 3.536 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008526/7.286, allocations: 0.6395 MB / 3.536 GB, free: 208 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/7.286, allocations: 0 / 3.536 GB, free: 208 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002013/7.288, allocations: 0.5963 MB / 3.537 GB, free: 207.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003376/7.292, allocations: 1.856 MB / 3.539 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002125/7.294, allocations: 1.065 MB / 3.54 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/7.294, allocations: 3.781 kB / 3.54 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/7.295, allocations: 0.6492 MB / 3.541 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/7.297, allocations: 470.7 kB / 3.541 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/7.302, allocations: 2.978 MB / 3.544 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/7.303, allocations: 1.209 MB / 3.545 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001515/7.304, allocations: 388.3 kB / 3.545 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/7.305, allocations: 126.6 kB / 3.546 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.824e-06/7.305, allocations: 0 / 3.546 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.06033/7.365, allocations: 37.97 MB / 3.583 GB, free: 203.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches