Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") [: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.076/2.076, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001119/0.001119, allocations: 189.2 kB / 487 MB, free: 5.383 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.456/1.456, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.001032/0.001032, allocations: 94.64 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.405e-06/8.445e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2884, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.364/4.653, allocations: 1.928 GB / 3.134 GB, free: 379.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/4.653, allocations: 83.95 kB / 3.134 GB, free: 379.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.566/6.219, allocations: 489.2 MB / 3.611 GB, free: 302.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.352e-05/6.219, allocations: 23.53 kB / 3.611 GB, free: 302.7 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002045/6.221, allocations: 0.9949 MB / 3.612 GB, free: 302.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/6.221, allocations: 10.33 kB / 3.612 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/6.223, allocations: 212 kB / 3.613 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/6.225, allocations: 0.9097 MB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/6.225, allocations: 16.84 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/6.226, allocations: 36.62 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/6.227, allocations: 445.9 kB / 3.614 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/6.228, allocations: 0.5211 MB / 3.614 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/6.228, allocations: 4.375 kB / 3.614 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/6.228, allocations: 0 / 3.614 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/6.228, allocations: 19.42 kB / 3.614 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/6.232, allocations: 2.45 MB / 3.617 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/6.232, allocations: 329.8 kB / 3.617 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/6.233, allocations: 209.9 kB / 3.617 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/6.233, allocations: 305.9 kB / 3.618 GB, free: 299.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/6.233, allocations: 37.64 kB / 3.618 GB, free: 299.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/6.233, allocations: 0 / 3.618 GB, free: 299.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001411/6.235, allocations: 451.8 kB / 3.618 GB, free: 298.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/6.235, allocations: 60.08 kB / 3.618 GB, free: 298.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/6.235, allocations: 353.9 kB / 3.618 GB, free: 298.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/6.235, allocations: 35.02 kB / 3.619 GB, free: 298.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/6.236, allocations: 258 kB / 3.619 GB, free: 298.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/6.236, allocations: 123 kB / 3.619 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/6.236, allocations: 1.531 kB / 3.619 GB, free: 298.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000148/6.236, allocations: 365.1 kB / 3.619 GB, free: 298 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/6.236, allocations: 134.3 kB / 3.619 GB, free: 298 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/6.237, allocations: 269.3 kB / 3.62 GB, free: 297.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/6.237, allocations: 217.8 kB / 3.62 GB, free: 297.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/6.237, allocations: 0 / 3.62 GB, free: 297.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009335/6.238, allocations: 477.4 kB / 3.62 GB, free: 297.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/6.238, allocations: 0.8756 MB / 3.621 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/6.238, allocations: 3.25 kB / 3.621 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/6.238, allocations: 6.969 kB / 3.621 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/6.239, allocations: 100.5 kB / 3.621 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/6.239, allocations: 0.6043 MB / 3.622 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/6.24, allocations: 65.33 kB / 3.622 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/6.24, allocations: 20.83 kB / 3.622 GB, free: 296 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/6.24, allocations: 6.281 kB / 3.622 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008438/6.241, allocations: 390.6 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/6.241, allocations: 2.125 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/6.241, allocations: 5.469 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/6.241, allocations: 87.61 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/6.242, allocations: 9.266 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/6.242, allocations: 59.28 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/6.242, allocations: 20.45 kB / 3.622 GB, free: 295.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/6.242, allocations: 111.4 kB / 3.623 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/6.242, allocations: 54.28 kB / 3.623 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/6.243, allocations: 448.2 kB / 3.623 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/6.243, allocations: 3.875 kB / 3.623 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/6.243, allocations: 1.969 kB / 3.623 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006714/6.244, allocations: 0.6482 MB / 3.624 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/6.246, allocations: 1.127 MB / 3.625 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/6.246, allocations: 1.094 kB / 3.625 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/6.247, allocations: 90.66 kB / 3.625 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/6.247, allocations: 4 kB / 3.625 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/6.247, allocations: 12.53 kB / 3.625 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002419/6.247, allocations: 0.5913 MB / 3.625 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/6.247, allocations: 6.594 kB / 3.625 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001028/6.248, allocations: 0.7832 MB / 3.626 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/6.248, allocations: 177.1 kB / 3.626 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/6.248, allocations: 3.672 kB / 3.626 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/6.249, allocations: 40.3 kB / 3.626 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/6.249, allocations: 24.75 kB / 3.626 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/6.249, allocations: 15.48 kB / 3.626 GB, free: 293.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003691/6.249, allocations: 283.6 kB / 3.627 GB, free: 293 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001585/6.251, allocations: 440.5 kB / 3.627 GB, free: 292.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002486/6.253, allocations: 1.557 MB / 3.629 GB, free: 292.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001349/6.255, allocations: 0.5731 MB / 3.629 GB, free: 292.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/6.255, allocations: 1.312 kB / 3.629 GB, free: 292.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/6.255, allocations: 179.4 kB / 3.629 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/6.257, allocations: 292.9 kB / 3.63 GB, free: 292.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/6.259, allocations: 1.056 MB / 3.631 GB, free: 291.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/6.26, allocations: 1.012 MB / 3.632 GB, free: 291 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/6.26, allocations: 0 / 3.632 GB, free: 291 MB / 1.151 GB Notification: Performance of Templates: time 0.04069/6.301, allocations: 19.92 MB / 3.651 GB, free: 285.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches