Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001079/0.001079, allocations: 185.2 kB / 487 MB, free: 5.363 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.469/1.469, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009139, allocations: 98.31 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.807/5.078, allocations: 1.906 GB / 3.111 GB, free: 400.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/5.078, allocations: 87.95 kB / 3.111 GB, free: 400.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.555/6.633, allocations: 410.2 MB / 3.512 GB, free: 288.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001561/6.633, allocations: 35.06 kB / 3.512 GB, free: 288.1 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.004198/6.638, allocations: 1.654 MB / 3.514 GB, free: 287.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/6.638, allocations: 10.69 kB / 3.514 GB, free: 287.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/6.641, allocations: 417.7 kB / 3.514 GB, free: 287.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/6.644, allocations: 1.168 MB / 3.515 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/6.644, allocations: 42.59 kB / 3.515 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/6.644, allocations: 85.3 kB / 3.515 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002313/6.647, allocations: 1.399 MB / 3.517 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/6.648, allocations: 1.217 MB / 3.518 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/6.649, allocations: 2.906 kB / 3.518 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/6.649, allocations: 3.906 kB / 3.518 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/6.649, allocations: 37.59 kB / 3.518 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/6.656, allocations: 4.79 MB / 3.522 GB, free: 284.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/6.658, allocations: 1.149 MB / 3.524 GB, free: 284.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/6.658, allocations: 433.7 kB / 3.524 GB, free: 284.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/6.659, allocations: 0.4976 MB / 3.524 GB, free: 284.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/6.66, allocations: 0.5993 MB / 3.525 GB, free: 284.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 4.638e-06/6.66, allocations: 0 / 3.525 GB, free: 284.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.00322/6.663, allocations: 1.138 MB / 3.526 GB, free: 284.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/6.663, allocations: 243.9 kB / 3.526 GB, free: 283.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/6.664, allocations: 0.625 MB / 3.527 GB, free: 283.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/6.664, allocations: 29.67 kB / 3.527 GB, free: 283.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/6.665, allocations: 466.6 kB / 3.528 GB, free: 283.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/6.665, allocations: 309.8 kB / 3.528 GB, free: 283.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/6.665, allocations: 0 / 3.528 GB, free: 283.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001102/6.665, allocations: 339.5 kB / 3.528 GB, free: 282.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/6.666, allocations: 339.3 kB / 3.528 GB, free: 282.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/6.666, allocations: 0.5096 MB / 3.529 GB, free: 282.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/6.667, allocations: 0.5122 MB / 3.529 GB, free: 282.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/6.667, allocations: 0 / 3.529 GB, free: 282.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002481/6.67, allocations: 1.137 MB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/6.67, allocations: 3.906 kB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/6.67, allocations: 7.062 kB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/6.671, allocations: 93.3 kB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/6.672, allocations: 225.9 kB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/6.674, allocations: 1.463 MB / 3.532 GB, free: 281.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/6.675, allocations: 106.9 kB / 3.532 GB, free: 281.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/6.675, allocations: 46.34 kB / 3.532 GB, free: 281.4 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.0002489/6.675, allocations: 136.5 kB / 3.533 GB, free: 281.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/6.675, allocations: 103.9 kB / 3.533 GB, free: 281.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/6.679, allocations: 1.401 MB / 3.534 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/6.679, allocations: 14.88 kB / 3.534 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/6.679, allocations: 0 / 3.534 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/6.679, allocations: 7.688 kB / 3.534 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/6.683, allocations: 2.574 MB / 3.537 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/6.683, allocations: 0 / 3.537 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/6.684, allocations: 217.6 kB / 3.537 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/6.685, allocations: 85.16 kB / 3.537 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/6.685, allocations: 18.92 kB / 3.537 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/6.687, allocations: 1.489 MB / 3.538 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.687, allocations: 0 / 3.538 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002716/6.69, allocations: 1.257 MB / 3.54 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008824/6.69, allocations: 359.4 kB / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/6.691, allocations: 0 / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/6.692, allocations: 88.52 kB / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/6.692, allocations: 74.05 kB / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/6.692, allocations: 55.55 kB / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009028/6.693, allocations: 496.1 kB / 3.541 GB, free: 279.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002437/6.696, allocations: 0.554 MB / 3.541 GB, free: 279.1 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.004018/6.7, allocations: 1.98 MB / 3.543 GB, free: 278.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002071/6.702, allocations: 0.9908 MB / 3.544 GB, free: 278.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/6.702, allocations: 0 / 3.544 GB, free: 278.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/6.703, allocations: 0.6077 MB / 3.545 GB, free: 278.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/6.705, allocations: 339.8 kB / 3.545 GB, free: 278.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/6.711, allocations: 1.868 MB / 3.547 GB, free: 278 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/6.713, allocations: 1.359 MB / 3.548 GB, free: 277.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.483e-06/6.713, allocations: 0 / 3.548 GB, free: 277.2 MB / 1.151 GB Notification: Performance of Templates: time 0.0547/6.768, allocations: 29.61 MB / 3.577 GB, free: 276.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches