Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.956/1.956, allocations: 387.2 MB / 394.5 MB, free: 4.605 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 181.3 kB / 487 MB, free: 11.09 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.3 MB / 0.7819 GB, free: 4.023 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 100.6 kB / 0.9213 GB, free: 5.121 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.536e-06, allocations: 8 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 142.3 MB / 1.205 GB, free: 14.79 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.231/4.509, allocations: 1.869 GB / 3.074 GB, free: 320.6 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/4.51, allocations: 82.81 kB / 3.074 GB, free: 320.6 MB / 1.143 GB Notification: Performance of FrontEnd: time 0.3483/4.858, allocations: 199.2 MB / 3.269 GB, free: 125.9 MB / 1.143 GB Notification: Performance of Transformations before backend: time 2.349e-05/4.858, allocations: 4 kB / 3.269 GB, free: 125.9 MB / 1.143 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.001151/4.859, allocations: 0.6465 MB / 3.269 GB, free: 125.2 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/4.859, allocations: 12.03 kB / 3.269 GB, free: 125.2 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/4.86, allocations: 75.55 kB / 3.269 GB, free: 125.1 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/4.86, allocations: 305.9 kB / 3.27 GB, free: 124.8 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/4.86, allocations: 4 kB / 3.27 GB, free: 124.8 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/4.86, allocations: 15.91 kB / 3.27 GB, free: 124.8 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002841/4.861, allocations: 152.8 kB / 3.27 GB, free: 124.6 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/4.861, allocations: 243.4 kB / 3.27 GB, free: 124.3 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/4.861, allocations: 0 / 3.27 GB, free: 124.3 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/4.861, allocations: 0 / 3.27 GB, free: 124.3 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/4.861, allocations: 4 kB / 3.27 GB, free: 124.3 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/4.862, allocations: 1.223 MB / 3.271 GB, free: 123 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/4.863, allocations: 130.6 kB / 3.271 GB, free: 122.9 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/4.863, allocations: 84.83 kB / 3.271 GB, free: 122.8 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/4.863, allocations: 299.3 kB / 3.272 GB, free: 122.4 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/4.863, allocations: 34.56 kB / 3.272 GB, free: 122.4 MB / 1.143 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/4.863, allocations: 3.938 kB / 3.272 GB, free: 122.4 MB / 1.143 GB Notification: Performance of matching and sorting (n=14): time 0.001125/4.864, allocations: 310 kB / 3.272 GB, free: 122.1 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/4.864, allocations: 51.41 kB / 3.272 GB, free: 122 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/4.865, allocations: 180.2 kB / 3.272 GB, free: 121.8 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/4.865, allocations: 37.69 kB / 3.272 GB, free: 121.8 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/4.865, allocations: 144.1 kB / 3.272 GB, free: 121.7 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/4.865, allocations: 39.36 kB / 3.273 GB, free: 121.6 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/4.865, allocations: 3.938 kB / 3.273 GB, free: 121.6 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/4.865, allocations: 338.7 kB / 3.273 GB, free: 121.3 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/4.865, allocations: 51.98 kB / 3.273 GB, free: 121.2 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/4.865, allocations: 114.8 kB / 3.273 GB, free: 121.1 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/4.865, allocations: 110.3 kB / 3.273 GB, free: 121 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/4.865, allocations: 0 / 3.273 GB, free: 121 MB / 1.143 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008211/4.866, allocations: 302.2 kB / 3.273 GB, free: 120.7 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/4.866, allocations: 4 kB / 3.273 GB, free: 120.7 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/4.866, allocations: 4 kB / 3.273 GB, free: 120.7 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/4.867, allocations: 88.89 kB / 3.273 GB, free: 120.6 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/4.867, allocations: 55.91 kB / 3.274 GB, free: 120.5 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/4.869, allocations: 1.507 MB / 3.275 GB, free: 118.9 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/4.869, allocations: 43.92 kB / 3.275 GB, free: 118.8 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/4.869, allocations: 8 kB / 3.275 GB, free: 118.8 MB / 1.143 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 8.03e-05/4.869, allocations: 104.9 kB / 3.275 GB, free: 118.7 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/4.869, allocations: 23.72 kB / 3.275 GB, free: 118.7 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/4.87, allocations: 319.9 kB / 3.275 GB, free: 118.4 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/4.87, allocations: 0 / 3.275 GB, free: 118.4 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/4.87, allocations: 0 / 3.275 GB, free: 118.4 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/4.87, allocations: 0 / 3.275 GB, free: 118.4 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/4.871, allocations: 0.6932 MB / 3.276 GB, free: 117.6 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/4.871, allocations: 0 / 3.276 GB, free: 117.6 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/4.871, allocations: 48 kB / 3.276 GB, free: 117.6 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/4.872, allocations: 93 kB / 3.276 GB, free: 117.5 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/4.872, allocations: 3.984 kB / 3.276 GB, free: 117.5 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/4.873, allocations: 1.52 MB / 3.278 GB, free: 115.9 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/4.873, allocations: 4 kB / 3.278 GB, free: 115.8 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008176/4.874, allocations: 439.1 kB / 3.278 GB, free: 115.4 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/4.874, allocations: 116.8 kB / 3.278 GB, free: 115.2 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/4.874, allocations: 0 / 3.278 GB, free: 115.2 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/4.875, allocations: 39.91 kB / 3.278 GB, free: 115.2 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/4.875, allocations: 16.03 kB / 3.278 GB, free: 115.2 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/4.875, allocations: 15.94 kB / 3.278 GB, free: 115.2 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.000133/4.875, allocations: 148.4 kB / 3.279 GB, free: 115 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.0007848/4.876, allocations: 139.8 kB / 3.279 GB, free: 114.9 MB / 1.143 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.00185/4.878, allocations: 1.073 MB / 3.28 GB, free: 113.8 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.0007014/4.878, allocations: 266 kB / 3.28 GB, free: 113.6 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/4.878, allocations: 0 / 3.28 GB, free: 113.6 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/4.879, allocations: 209.7 kB / 3.28 GB, free: 113.3 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/4.879, allocations: 91.58 kB / 3.28 GB, free: 113.2 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/4.88, allocations: 358.7 kB / 3.281 GB, free: 112.9 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/4.881, allocations: 0.7959 MB / 3.281 GB, free: 112 MB / 1.143 GB Notification: Performance of SimCode: time 2.6e-07/4.881, allocations: 0 / 3.281 GB, free: 112 MB / 1.143 GB Notification: Performance of Templates: time 0.01521/4.896, allocations: 10.28 MB / 3.291 GB, free: 101.8 MB / 1.143 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches