Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 6.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009608/0.0009611, allocations: 192.4 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 92.95 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.677/3.838, allocations: 2.183 GB / 3.067 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/3.839, allocations: 78.83 kB / 3.067 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6118/4.45, allocations: 191.2 MB / 3.254 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.372e-05/4.45, allocations: 9.469 kB / 3.254 GB, free: 195.1 MB / 0.8698 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.0009523/4.451, allocations: 0.637 MB / 3.255 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/4.451, allocations: 13.97 kB / 3.255 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/4.452, allocations: 69.86 kB / 3.255 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/4.452, allocations: 306.8 kB / 3.255 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/4.452, allocations: 11.5 kB / 3.255 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/4.452, allocations: 13.19 kB / 3.255 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002552/4.453, allocations: 150.5 kB / 3.255 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/4.453, allocations: 235.5 kB / 3.255 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/4.453, allocations: 3.844 kB / 3.255 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/4.453, allocations: 3.75 kB / 3.255 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/4.453, allocations: 11.62 kB / 3.256 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/4.454, allocations: 1.221 MB / 3.257 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/4.454, allocations: 126.5 kB / 3.257 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/4.454, allocations: 79.3 kB / 3.257 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/4.455, allocations: 303.4 kB / 3.257 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/4.455, allocations: 36.67 kB / 3.257 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/4.455, allocations: 0 / 3.257 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001048/4.456, allocations: 314.9 kB / 3.258 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/4.456, allocations: 51.41 kB / 3.258 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/4.456, allocations: 183.9 kB / 3.258 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/4.456, allocations: 25.7 kB / 3.258 GB, free: 193 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/4.456, allocations: 152.6 kB / 3.258 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/4.456, allocations: 47.55 kB / 3.258 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/4.456, allocations: 0 / 3.258 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/4.456, allocations: 327.3 kB / 3.258 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/4.456, allocations: 60.48 kB / 3.258 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/4.456, allocations: 109.6 kB / 3.258 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/4.457, allocations: 108.7 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/4.457, allocations: 3.875 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007903/4.457, allocations: 298.5 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/4.457, allocations: 3.906 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/4.457, allocations: 7.5 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/4.458, allocations: 89.08 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/4.458, allocations: 52.8 kB / 3.259 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/4.46, allocations: 1.508 MB / 3.26 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/4.46, allocations: 41.95 kB / 3.26 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/4.46, allocations: 7.062 kB / 3.26 GB, free: 191.2 MB / 0.8698 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 6.595e-05/4.46, allocations: 111.3 kB / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/4.46, allocations: 23.06 kB / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/4.461, allocations: 308 kB / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/4.461, allocations: 7.594 kB / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/4.461, allocations: 0 / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/4.461, allocations: 3.906 kB / 3.261 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/4.462, allocations: 0.6838 MB / 3.262 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/4.462, allocations: 0 / 3.262 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/4.462, allocations: 50.58 kB / 3.262 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/4.463, allocations: 92.34 kB / 3.262 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/4.463, allocations: 3.469 kB / 3.262 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/4.464, allocations: 1.521 MB / 3.263 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/4.464, allocations: 14.22 kB / 3.263 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007414/4.465, allocations: 433.6 kB / 3.264 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/4.465, allocations: 116.1 kB / 3.264 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/4.465, allocations: 3.656 kB / 3.264 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/4.465, allocations: 37.22 kB / 3.264 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/4.465, allocations: 14.33 kB / 3.264 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/4.465, allocations: 7.188 kB / 3.264 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.578e-05/4.466, allocations: 145 kB / 3.264 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004573/4.466, allocations: 147.3 kB / 3.264 GB, free: 189.1 MB / 0.8698 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.001007/4.467, allocations: 1.075 MB / 3.265 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004818/4.467, allocations: 275.8 kB / 3.265 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/4.468, allocations: 3.062 kB / 3.265 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/4.468, allocations: 204.1 kB / 3.266 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/4.468, allocations: 82.27 kB / 3.266 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/4.469, allocations: 354.4 kB / 3.266 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/4.469, allocations: 0.7978 MB / 3.267 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/4.469, allocations: 0 / 3.267 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.01287/4.482, allocations: 10.26 MB / 3.277 GB, free: 187.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches