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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.00103/0.00103, allocations: 184.2 kB / 316 MB, free: 3.57 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.088/1.088, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008369/0.0008369, allocations: 78.66 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.513e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1596, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.611/3.771, allocations: 2.219 GB / 3.104 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/3.771, allocations: 86.39 kB / 3.104 GB, free: 143 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.006/4.777, allocations: 395.3 MB / 3.49 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001026/4.777, allocations: 43.3 kB / 3.49 GB, free: 78.03 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.00271/4.78, allocations: 1.63 MB / 3.492 GB, free: 76.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/4.78, allocations: 8.031 kB / 3.492 GB, free: 76.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/4.782, allocations: 421.6 kB / 3.492 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/4.784, allocations: 1.174 MB / 3.493 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/4.784, allocations: 43.94 kB / 3.493 GB, free: 74.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/4.785, allocations: 76 kB / 3.493 GB, free: 74.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00177/4.786, allocations: 1.391 MB / 3.495 GB, free: 73.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/4.788, allocations: 1.217 MB / 3.496 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/4.788, allocations: 7.938 kB / 3.496 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/4.788, allocations: 4 kB / 3.496 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/4.788, allocations: 32 kB / 3.496 GB, free: 71.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/4.793, allocations: 4.77 MB / 3.501 GB, free: 66.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/4.794, allocations: 0.9924 MB / 3.502 GB, free: 65.97 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/4.795, allocations: 439.7 kB / 3.502 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/4.796, allocations: 0.5029 MB / 3.502 GB, free: 64.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/4.796, allocations: 0.5934 MB / 3.503 GB, free: 64.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/4.796, allocations: 0 / 3.503 GB, free: 64.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.002692/4.799, allocations: 1.143 MB / 3.504 GB, free: 63.19 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/4.799, allocations: 244.1 kB / 3.504 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/4.8, allocations: 0.6253 MB / 3.505 GB, free: 62.26 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/4.8, allocations: 25.7 kB / 3.505 GB, free: 62.23 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/4.8, allocations: 467.3 kB / 3.505 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/4.8, allocations: 320 kB / 3.506 GB, free: 61.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/4.8, allocations: 4 kB / 3.506 GB, free: 61.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/4.8, allocations: 341.9 kB / 3.506 GB, free: 61.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/4.801, allocations: 321.9 kB / 3.506 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/4.801, allocations: 0.516 MB / 3.507 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/4.802, allocations: 0.51 MB / 3.507 GB, free: 59.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/4.802, allocations: 0 / 3.507 GB, free: 59.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002192/4.804, allocations: 1.132 MB / 3.508 GB, free: 58.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/4.804, allocations: 4 kB / 3.508 GB, free: 58.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/4.804, allocations: 4 kB / 3.508 GB, free: 58.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/4.805, allocations: 85.61 kB / 3.509 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/4.806, allocations: 227.8 kB / 3.509 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/4.808, allocations: 1.477 MB / 3.51 GB, free: 56.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008597/4.808, allocations: 103.3 kB / 3.51 GB, free: 56.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/4.808, allocations: 43.89 kB / 3.51 GB, free: 56.49 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.0001834/4.809, allocations: 132.7 kB / 3.511 GB, free: 56.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/4.809, allocations: 98.78 kB / 3.511 GB, free: 56.26 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/4.812, allocations: 1.405 MB / 3.512 GB, free: 54.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/4.812, allocations: 15.94 kB / 3.512 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/4.812, allocations: 0 / 3.512 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/4.812, allocations: 7.969 kB / 3.512 GB, free: 54.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/4.813, allocations: 1.083 MB / 3.513 GB, free: 53.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/4.813, allocations: 0 / 3.513 GB, free: 53.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/4.814, allocations: 223.7 kB / 3.513 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/4.814, allocations: 88.77 kB / 3.513 GB, free: 53.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/4.814, allocations: 15.98 kB / 3.513 GB, free: 53.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/4.816, allocations: 1.489 MB / 3.515 GB, free: 51.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/4.816, allocations: 3.938 kB / 3.515 GB, free: 51.79 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002064/4.818, allocations: 1.189 MB / 3.516 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/4.818, allocations: 359.4 kB / 3.516 GB, free: 50.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/4.818, allocations: 4 kB / 3.516 GB, free: 50.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/4.819, allocations: 99.75 kB / 3.516 GB, free: 50.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/4.819, allocations: 60.91 kB / 3.516 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.255e-05/4.819, allocations: 47.95 kB / 3.517 GB, free: 50 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004393/4.82, allocations: 0.4913 MB / 3.517 GB, free: 49.51 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001235/4.821, allocations: 0.5374 MB / 3.518 GB, free: 48.97 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.conTimMin.tNext,weaDat.conTim.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.002135/4.823, allocations: 1.936 MB / 3.519 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001287/4.825, allocations: 0.9796 MB / 3.52 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/4.825, allocations: 4.188 kB / 3.52 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/4.825, allocations: 0.6067 MB / 3.521 GB, free: 45.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/4.827, allocations: 354.2 kB / 3.521 GB, free: 45.19 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/4.831, allocations: 1.887 MB / 3.523 GB, free: 43.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008913/4.832, allocations: 1.356 MB / 3.524 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/4.832, allocations: 0 / 3.524 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of Templates: time 0.03629/4.868, allocations: 29.52 MB / 3.553 GB, free: 12.5 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