Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [: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.914/1.914, allocations: 390.4 MB / 397.7 MB, free: 1.93 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 179.1 kB / 490.8 MB, free: 7.57 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 0.7863 GB, free: 364 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008813, allocations: 94.8 kB / 0.9264 GB, free: 0.7422 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 4 kB / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2882, allocations: 143 MB / 1.212 GB, free: 10.66 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.951/4.239, allocations: 1.87 GB / 3.081 GB, free: 414.7 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/4.239, allocations: 79.95 kB / 3.081 GB, free: 414.6 MB / 1.159 GB Notification: Performance of FrontEnd: time 0.3696/4.609, allocations: 199.2 MB / 3.276 GB, free: 211.4 MB / 1.159 GB Notification: Performance of Transformations before backend: time 3.441e-05/4.609, allocations: 4 kB / 3.276 GB, free: 211.4 MB / 1.159 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001442/4.61, allocations: 0.6348 MB / 3.276 GB, free: 210.7 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/4.61, allocations: 16.02 kB / 3.276 GB, free: 210.7 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/4.611, allocations: 79.56 kB / 3.277 GB, free: 210.6 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/4.612, allocations: 301.8 kB / 3.277 GB, free: 210.3 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/4.612, allocations: 8 kB / 3.277 GB, free: 210.3 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/4.612, allocations: 15.98 kB / 3.277 GB, free: 210.3 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003323/4.612, allocations: 160.7 kB / 3.277 GB, free: 210.1 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/4.612, allocations: 247.4 kB / 3.277 GB, free: 209.9 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/4.612, allocations: 0 / 3.277 GB, free: 209.9 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/4.613, allocations: 0 / 3.277 GB, free: 209.9 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/4.613, allocations: 4 kB / 3.277 GB, free: 209.9 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/4.614, allocations: 1.211 MB / 3.278 GB, free: 208.5 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/4.614, allocations: 138.6 kB / 3.279 GB, free: 208.4 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/4.614, allocations: 76.84 kB / 3.279 GB, free: 208.3 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/4.615, allocations: 311.2 kB / 3.279 GB, free: 208 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/4.615, allocations: 38.5 kB / 3.279 GB, free: 207.9 MB / 1.159 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/4.615, allocations: 0 / 3.279 GB, free: 207.9 MB / 1.159 GB Notification: Performance of matching and sorting (n=14): time 0.00121/4.616, allocations: 298 kB / 3.279 GB, free: 207.6 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/4.616, allocations: 51.41 kB / 3.279 GB, free: 207.6 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/4.616, allocations: 188.2 kB / 3.279 GB, free: 207.4 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/4.616, allocations: 25.7 kB / 3.279 GB, free: 207.3 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/4.617, allocations: 152.1 kB / 3.28 GB, free: 207.2 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/4.617, allocations: 43.36 kB / 3.28 GB, free: 207.1 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/4.617, allocations: 3.938 kB / 3.28 GB, free: 207.1 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/4.617, allocations: 326.8 kB / 3.28 GB, free: 206.8 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/4.617, allocations: 63.88 kB / 3.28 GB, free: 206.7 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/4.617, allocations: 110.8 kB / 3.28 GB, free: 206.6 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/4.617, allocations: 107.8 kB / 3.28 GB, free: 206.5 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/4.617, allocations: 7.938 kB / 3.28 GB, free: 206.5 MB / 1.159 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008626/4.618, allocations: 300.9 kB / 3.281 GB, free: 206.2 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/4.618, allocations: 4 kB / 3.281 GB, free: 206.2 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/4.618, allocations: 0 / 3.281 GB, free: 206.2 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/4.619, allocations: 92.89 kB / 3.281 GB, free: 206.1 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/4.619, allocations: 51.91 kB / 3.281 GB, free: 206 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/4.621, allocations: 1.5 MB / 3.282 GB, free: 204.4 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/4.621, allocations: 47.92 kB / 3.282 GB, free: 204.4 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/4.621, allocations: 11.98 kB / 3.282 GB, free: 204.4 MB / 1.159 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 9.095e-05/4.621, allocations: 105 kB / 3.282 GB, free: 204.3 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/4.621, allocations: 23.95 kB / 3.282 GB, free: 204.2 MB / 1.159 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/4.622, allocations: 327.9 kB / 3.283 GB, free: 203.9 MB / 1.159 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/4.622, allocations: 0 / 3.283 GB, free: 203.9 MB / 1.159 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/4.622, allocations: 0 / 3.283 GB, free: 203.9 MB / 1.159 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/4.622, allocations: 0 / 3.283 GB, free: 203.9 MB / 1.159 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/4.623, allocations: 0.6853 MB / 3.283 GB, free: 203.2 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/4.623, allocations: 4.094 kB / 3.283 GB, free: 203.2 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/4.624, allocations: 47.91 kB / 3.283 GB, free: 203.1 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/4.624, allocations: 88.77 kB / 3.283 GB, free: 203 MB / 1.159 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/4.624, allocations: 8 kB / 3.283 GB, free: 203 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/4.626, allocations: 1.516 MB / 3.285 GB, free: 201.4 MB / 1.159 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/4.626, allocations: 4.047 kB / 3.285 GB, free: 201.4 MB / 1.159 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008254/4.627, allocations: 443.6 kB / 3.285 GB, free: 200.9 MB / 1.159 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/4.627, allocations: 112.8 kB / 3.285 GB, free: 200.8 MB / 1.159 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/4.627, allocations: 3.984 kB / 3.285 GB, free: 200.8 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/4.627, allocations: 39.91 kB / 3.286 GB, free: 200.7 MB / 1.159 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/4.627, allocations: 11.98 kB / 3.286 GB, free: 200.7 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/4.627, allocations: 16 kB / 3.286 GB, free: 200.7 MB / 1.159 GB Notification: Performance of sort global known variables: time 0.000124/4.627, allocations: 144.5 kB / 3.286 GB, free: 200.6 MB / 1.159 GB Notification: Performance of remove unused functions: time 0.0007102/4.628, allocations: 143.7 kB / 3.286 GB, free: 200.4 MB / 1.159 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 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.001709/4.63, allocations: 1.074 MB / 3.287 GB, free: 199.3 MB / 1.159 GB Notification: Performance of simCode: created initialization part: time 0.0006349/4.63, allocations: 270 kB / 3.287 GB, free: 199.1 MB / 1.159 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/4.63, allocations: 0 / 3.287 GB, free: 199.1 MB / 1.159 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/4.631, allocations: 201.6 kB / 3.287 GB, free: 198.9 MB / 1.159 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/4.631, allocations: 84.48 kB / 3.287 GB, free: 198.8 MB / 1.159 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/4.632, allocations: 357.3 kB / 3.288 GB, free: 198.4 MB / 1.159 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/4.633, allocations: 0.8076 MB / 3.289 GB, free: 197.6 MB / 1.159 GB Notification: Performance of SimCode: time 2.31e-07/4.633, allocations: 0 / 3.289 GB, free: 197.6 MB / 1.159 GB Notification: Performance of Templates: time 0.01638/4.649, allocations: 10.29 MB / 3.299 GB, free: 187.3 MB / 1.159 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches