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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 184.8 kB / 316.3 MB, free: 3.211 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.634/1.634, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008445/0.0008445, allocations: 96.36 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.548e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/6.469, allocations: 2.219 GB / 3.104 GB, free: 178 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/6.47, allocations: 91.52 kB / 3.105 GB, free: 178 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.417/7.887, allocations: 389.9 MB / 3.485 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/7.887, allocations: 0 / 3.485 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001166/7.887, allocations: 36 kB / 3.485 GB, free: 127.3 MB / 0.8698 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.00312/7.89, allocations: 1.595 MB / 3.487 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/7.89, allocations: 12.03 kB / 3.487 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/7.892, allocations: 393.7 kB / 3.487 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/7.895, allocations: 1.177 MB / 3.488 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/7.895, allocations: 40 kB / 3.488 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/7.895, allocations: 76 kB / 3.489 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/7.897, allocations: 1.356 MB / 3.49 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/7.898, allocations: 1.206 MB / 3.491 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/7.898, allocations: 0 / 3.491 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/7.899, allocations: 4 kB / 3.491 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/7.899, allocations: 32 kB / 3.491 GB, free: 121.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005445/7.904, allocations: 4.71 MB / 3.496 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/7.905, allocations: 1.169 MB / 3.497 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/7.906, allocations: 409.2 kB / 3.497 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/7.907, allocations: 425.2 kB / 3.498 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007201/7.907, allocations: 0.5855 MB / 3.498 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/7.907, allocations: 0 / 3.498 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.00245/7.91, allocations: 1.042 MB / 3.499 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/7.91, allocations: 240.1 kB / 3.499 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/7.91, allocations: 0.6214 MB / 3.5 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/7.911, allocations: 33.7 kB / 3.5 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/7.911, allocations: 0.5736 MB / 3.501 GB, free: 111 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/7.911, allocations: 315.3 kB / 3.501 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/7.911, allocations: 0 / 3.501 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/7.911, allocations: 338 kB / 3.501 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/7.912, allocations: 310.5 kB / 3.502 GB, free: 110 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/7.912, allocations: 0.4955 MB / 3.502 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/7.913, allocations: 482 kB / 3.502 GB, free: 109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/7.913, allocations: 0 / 3.502 GB, free: 109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002018/7.915, allocations: 1.082 MB / 3.504 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/7.915, allocations: 15.98 kB / 3.504 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/7.915, allocations: 4 kB / 3.504 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/7.916, allocations: 84.78 kB / 3.504 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/7.917, allocations: 227.7 kB / 3.504 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/7.918, allocations: 1.47 MB / 3.505 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/7.919, allocations: 103.2 kB / 3.505 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/7.919, allocations: 43.97 kB / 3.505 GB, free: 105.8 MB / 0.8698 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 () * 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.0001911/7.919, allocations: 129.8 kB / 3.506 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/7.919, allocations: 106.7 kB / 3.506 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/7.922, allocations: 1.32 MB / 3.507 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/7.922, allocations: 15.95 kB / 3.507 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/7.922, allocations: 0 / 3.507 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/7.922, allocations: 7.969 kB / 3.507 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/7.926, allocations: 2.47 MB / 3.509 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/7.926, allocations: 48 / 3.509 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/7.926, allocations: 223.7 kB / 3.51 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/7.927, allocations: 84.78 kB / 3.51 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/7.927, allocations: 19.97 kB / 3.51 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/7.928, allocations: 1.492 MB / 3.511 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/7.928, allocations: 0 / 3.511 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/7.93, allocations: 1.223 MB / 3.512 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/7.931, allocations: 351.4 kB / 3.513 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/7.931, allocations: 11.98 kB / 3.513 GB, free: 98.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/7.932, allocations: 83.83 kB / 3.513 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/7.932, allocations: 81.09 kB / 3.513 GB, free: 98.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/7.932, allocations: 43.97 kB / 3.513 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005173/7.933, allocations: 499.1 kB / 3.513 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/7.933, allocations: 0 / 3.513 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001598/7.934, allocations: 0.5337 MB / 3.514 GB, free: 96.95 MB / 0.8698 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) * 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.002888/7.937, allocations: 1.969 MB / 3.516 GB, free: 95.01 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001397/7.938, allocations: 0.9487 MB / 3.517 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/7.938, allocations: 4.141 kB / 3.517 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/7.939, allocations: 0.5892 MB / 3.517 GB, free: 93.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/7.941, allocations: 365.4 kB / 3.518 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/7.945, allocations: 1.797 MB / 3.519 GB, free: 91.28 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/7.945, allocations: 1.212 MB / 3.521 GB, free: 90.03 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001267/7.946, allocations: 371.9 kB / 3.521 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/7.947, allocations: 123.4 kB / 3.521 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/7.947, allocations: 0 / 3.521 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.0434/7.99, allocations: 26.67 MB / 3.547 GB, free: 63 MB / 0.8698 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