Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") [: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.993/1.993, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001066/0.001066, allocations: 185.2 kB / 490.8 MB, free: 1.949 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.417/1.417, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001023/0.001023, allocations: 91.92 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.538e-06/9.558e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.106/4.424, allocations: 1.87 GB / 3.082 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/4.424, allocations: 91.58 kB / 3.082 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6639/5.088, allocations: 346.1 MB / 3.42 GB, free: 114.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.923e-05/5.088, allocations: 7.984 kB / 3.42 GB, free: 114.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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001394/5.089, allocations: 0.6734 MB / 3.42 GB, free: 114 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/5.09, allocations: 11.97 kB / 3.42 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005084/5.09, allocations: 67.47 kB / 3.421 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/5.091, allocations: 322.2 kB / 3.421 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/5.091, allocations: 8 kB / 3.421 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/5.091, allocations: 16 kB / 3.421 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002397/5.091, allocations: 116.8 kB / 3.421 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/5.091, allocations: 247.8 kB / 3.421 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/5.091, allocations: 0 / 3.421 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/5.091, allocations: 0 / 3.421 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/5.091, allocations: 11.94 kB / 3.421 GB, free: 113.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/5.093, allocations: 1.682 MB / 3.423 GB, free: 111.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/5.093, allocations: 74.62 kB / 3.423 GB, free: 111.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/5.093, allocations: 64.83 kB / 3.423 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/5.093, allocations: 186.2 kB / 3.423 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/5.093, allocations: 38.56 kB / 3.423 GB, free: 111 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/5.093, allocations: 224 / 3.423 GB, free: 111 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0004872/5.094, allocations: 157.1 kB / 3.423 GB, free: 110.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/5.094, allocations: 51.41 kB / 3.423 GB, free: 110.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/5.094, allocations: 219.4 kB / 3.424 GB, free: 110.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/5.094, allocations: 33.7 kB / 3.424 GB, free: 110.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/5.094, allocations: 171.7 kB / 3.424 GB, free: 110.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/5.094, allocations: 43.41 kB / 3.424 GB, free: 110.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/5.094, allocations: 0 / 3.424 GB, free: 110.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/5.094, allocations: 334.8 kB / 3.424 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/5.094, allocations: 39.84 kB / 3.424 GB, free: 109.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/5.095, allocations: 187.4 kB / 3.424 GB, free: 109.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/5.095, allocations: 67.89 kB / 3.424 GB, free: 109.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/5.095, allocations: 4 kB / 3.424 GB, free: 109.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000272/5.095, allocations: 197.1 kB / 3.425 GB, free: 109.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002758/5.095, allocations: 1.395 MB / 3.426 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/5.095, allocations: 4 kB / 3.426 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/5.095, allocations: 4 kB / 3.426 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/5.095, allocations: 55.91 kB / 3.426 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/5.095, allocations: 7.938 kB / 3.426 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/5.096, allocations: 39.73 kB / 3.426 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/5.096, allocations: 15.98 kB / 3.426 GB, free: 107.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/5.096, allocations: 7.938 kB / 3.426 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001977/5.096, allocations: 136 kB / 3.426 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/5.096, allocations: 7.938 kB / 3.426 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/5.096, allocations: 4.406 kB / 3.426 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/5.096, allocations: 55.95 kB / 3.426 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/5.096, allocations: 7.938 kB / 3.426 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/5.097, allocations: 39.8 kB / 3.426 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/5.097, allocations: 16 kB / 3.426 GB, free: 107.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/5.097, allocations: 112.8 kB / 3.426 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/5.097, allocations: 23.72 kB / 3.427 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/5.097, allocations: 127.5 kB / 3.427 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/5.097, allocations: 4 kB / 3.427 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/5.097, allocations: 4 kB / 3.427 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/5.097, allocations: 0 / 3.427 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/5.098, allocations: 0.5439 MB / 3.427 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/5.098, allocations: 4 kB / 3.427 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/5.098, allocations: 32.14 kB / 3.427 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/5.098, allocations: 7.906 kB / 3.427 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/5.098, allocations: 7.938 kB / 3.427 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/5.098, allocations: 4 kB / 3.427 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.098, allocations: 4 kB / 3.427 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002159/5.098, allocations: 357 kB / 3.428 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/5.098, allocations: 104.8 kB / 3.428 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/5.098, allocations: 4 kB / 3.428 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/5.098, allocations: 19.98 kB / 3.428 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/5.098, allocations: 15.89 kB / 3.428 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/5.098, allocations: 4 kB / 3.428 GB, free: 105.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001175/5.098, allocations: 175.1 kB / 3.428 GB, free: 105.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008805/5.099, allocations: 223.6 kB / 3.428 GB, free: 105.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/5.101, allocations: 1.431 MB / 3.429 GB, free: 104.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003341/5.102, allocations: 201.3 kB / 3.43 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/5.102, allocations: 0 / 3.43 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/5.102, allocations: 51.84 kB / 3.43 GB, free: 103.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/5.102, allocations: 102.2 kB / 3.43 GB, free: 103.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/5.103, allocations: 345.8 kB / 3.43 GB, free: 103.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/5.103, allocations: 0.8148 MB / 3.431 GB, free: 102.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/5.103, allocations: 0 / 3.431 GB, free: 102.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01798/5.121, allocations: 11.78 MB / 3.442 GB, free: 90.76 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches