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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [: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 10.0.0-master/package.mo): time 1.998/1.998, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 187.8 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008966/0.0008967, allocations: 92.67 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.604e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2556, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.253/4.509, allocations: 1.907 GB / 3.118 GB, free: 424.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/4.509, allocations: 88.86 kB / 3.118 GB, free: 424.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.8069/5.316, allocations: 410.3 MB / 3.519 GB, free: 11.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002055/5.316, allocations: 39.94 kB / 3.519 GB, free: 11.92 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004922/5.321, allocations: 1.654 MB / 3.521 GB, free: 10.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/5.321, allocations: 8.031 kB / 3.521 GB, free: 10.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/5.325, allocations: 425.5 kB / 3.521 GB, free: 9.785 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/5.328, allocations: 1.163 MB / 3.522 GB, free: 8.582 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/5.328, allocations: 43.94 kB / 3.522 GB, free: 8.539 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/5.329, allocations: 76 kB / 3.522 GB, free: 8.465 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002878/5.332, allocations: 1.399 MB / 3.524 GB, free: 7.062 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/5.335, allocations: 1.225 MB / 3.525 GB, free: 5.762 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/5.335, allocations: 7.938 kB / 3.525 GB, free: 5.754 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/5.335, allocations: 0 / 3.525 GB, free: 5.754 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/5.335, allocations: 32 kB / 3.525 GB, free: 5.723 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008055/5.343, allocations: 4.783 MB / 3.53 GB, free: 0.7344 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6042/5.947, allocations: 1.152 MB / 3.531 GB, free: 418.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/5.948, allocations: 428 kB / 3.531 GB, free: 418.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/5.949, allocations: 0.5059 MB / 3.532 GB, free: 417.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/5.95, allocations: 0.5869 MB / 3.532 GB, free: 417.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.577e-06/5.95, allocations: 3.688 kB / 3.532 GB, free: 417.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003127/5.953, allocations: 1.138 MB / 3.533 GB, free: 417.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/5.953, allocations: 250.1 kB / 3.534 GB, free: 417.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/5.954, allocations: 0.6163 MB / 3.534 GB, free: 417.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/5.954, allocations: 29.64 kB / 3.534 GB, free: 417.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/5.954, allocations: 467.4 kB / 3.535 GB, free: 417.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/5.954, allocations: 323.4 kB / 3.535 GB, free: 417 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/5.954, allocations: 0 / 3.535 GB, free: 417 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/5.955, allocations: 339.5 kB / 3.535 GB, free: 416.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/5.955, allocations: 331.6 kB / 3.536 GB, free: 416.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/5.956, allocations: 0.5087 MB / 3.536 GB, free: 416.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/5.957, allocations: 0.5157 MB / 3.537 GB, free: 416.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/5.957, allocations: 0 / 3.537 GB, free: 416.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00231/5.959, allocations: 1.132 MB / 3.538 GB, free: 416.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/5.959, allocations: 3.469 kB / 3.538 GB, free: 416.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/5.959, allocations: 7.719 kB / 3.538 GB, free: 416.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/5.96, allocations: 95.08 kB / 3.538 GB, free: 416.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/5.961, allocations: 230.4 kB / 3.538 GB, free: 416.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/5.962, allocations: 1.47 MB / 3.539 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/5.963, allocations: 102.1 kB / 3.54 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/5.963, allocations: 41.34 kB / 3.54 GB, free: 415.2 MB / 1.151 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.0002063/5.964, allocations: 130.8 kB / 3.54 GB, free: 415.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/5.964, allocations: 101.2 kB / 3.54 GB, free: 415 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/5.967, allocations: 1.414 MB / 3.541 GB, free: 414.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/5.967, allocations: 10.91 kB / 3.541 GB, free: 414.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/5.967, allocations: 6.219 kB / 3.541 GB, free: 414.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/5.967, allocations: 3.75 kB / 3.541 GB, free: 414.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/5.971, allocations: 2.574 MB / 3.544 GB, free: 414.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/5.971, allocations: 0 / 3.544 GB, free: 414.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/5.972, allocations: 220 kB / 3.544 GB, free: 414.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/5.973, allocations: 84.5 kB / 3.544 GB, free: 414.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/5.973, allocations: 21.66 kB / 3.544 GB, free: 414.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/5.974, allocations: 1.49 MB / 3.545 GB, free: 413.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.974, allocations: 3.062 kB / 3.545 GB, free: 413.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002243/5.977, allocations: 1.254 MB / 3.547 GB, free: 413.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/5.977, allocations: 360.1 kB / 3.547 GB, free: 413 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/5.977, allocations: 0 / 3.547 GB, free: 413 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/5.978, allocations: 93.92 kB / 3.547 GB, free: 413 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/5.978, allocations: 62.69 kB / 3.547 GB, free: 413 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/5.978, allocations: 43.47 kB / 3.547 GB, free: 413 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005423/5.979, allocations: 499.2 kB / 3.548 GB, free: 412.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001676/5.981, allocations: 0.5659 MB / 3.548 GB, free: 412.9 MB / 1.151 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.002745/5.983, allocations: 1.973 MB / 3.55 GB, free: 412.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001516/5.985, allocations: 0.991 MB / 3.551 GB, free: 412.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/5.985, allocations: 3.281 kB / 3.551 GB, free: 412.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/5.986, allocations: 0.6033 MB / 3.552 GB, free: 412.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/5.987, allocations: 349.5 kB / 3.552 GB, free: 412.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/5.992, allocations: 1.882 MB / 3.554 GB, free: 411.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/5.993, allocations: 1.347 MB / 3.555 GB, free: 411.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.81e-07/5.993, allocations: 3.969 kB / 3.555 GB, free: 411.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04605/6.039, allocations: 29.59 MB / 3.584 GB, free: 410.6 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches