Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [: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.671/1.671, allocations: 390.4 MB / 397.7 MB, free: 1.988 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 184.2 kB / 490.8 MB, free: 7.562 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.042/1.042, allocations: 221.3 MB / 0.7863 GB, free: 300 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.0007924/0.0007924, allocations: 100.6 kB / 0.9264 GB, free: 0.6523 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.161e-06, allocations: 4 kB / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1646, allocations: 143 MB / 1.212 GB, free: 10.62 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.425/0.5896, allocations: 148.8 MB / 1.357 GB, free: 13.33 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.5898, allocations: 67.95 kB / 1.357 GB, free: 13.26 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.001969/0.5918, allocations: 0.7639 MB / 1.358 GB, free: 12.5 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5918, allocations: 4 kB / 1.358 GB, free: 12.5 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002375/0.5921, allocations: 354.2 kB / 1.358 GB, free: 12.11 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.5921, allocations: 8.031 kB / 1.358 GB, free: 12.1 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.5921, allocations: 19.66 kB / 1.358 GB, free: 12.09 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.5923, allocations: 170.9 kB / 1.358 GB, free: 11.88 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5923, allocations: 4 kB / 1.358 GB, free: 11.88 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5923, allocations: 4 kB / 1.358 GB, free: 11.87 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.047e-05/0.5924, allocations: 31.94 kB / 1.358 GB, free: 11.84 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.5925, allocations: 89.42 kB / 1.358 GB, free: 11.75 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5925, allocations: 0 / 1.358 GB, free: 11.75 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.5925, allocations: 4 kB / 1.358 GB, free: 11.74 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.5925, allocations: 0 / 1.358 GB, free: 11.74 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.5929, allocations: 413.2 kB / 1.359 GB, free: 11.3 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.593, allocations: 44.05 kB / 1.359 GB, free: 11.24 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.593, allocations: 13.78 kB / 1.359 GB, free: 11.22 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.593, allocations: 3.984 kB / 1.359 GB, free: 11.21 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.593, allocations: 34.56 kB / 1.359 GB, free: 11.17 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/0.5931, allocations: 96 / 1.359 GB, free: 11.17 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2): time 0.0001209/0.5932, allocations: 53.53 kB / 1.359 GB, free: 11.11 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5932, allocations: 77.11 kB / 1.359 GB, free: 11.02 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.5933, allocations: 109 kB / 1.359 GB, free: 10.91 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.5933, allocations: 33.62 kB / 1.359 GB, free: 10.87 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.5934, allocations: 112 kB / 1.359 GB, free: 10.75 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.5934, allocations: 7.906 kB / 1.359 GB, free: 10.74 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.5934, allocations: 0 / 1.359 GB, free: 10.74 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.5935, allocations: 314.9 kB / 1.36 GB, free: 10.43 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.5935, allocations: 8 kB / 1.36 GB, free: 10.42 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.5935, allocations: 21.66 kB / 1.36 GB, free: 10.39 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/0.5935, allocations: 7.984 kB / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5935, allocations: 0 / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.403e-05/0.5936, allocations: 53.61 kB / 1.36 GB, free: 10.32 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.5936, allocations: 8 kB / 1.36 GB, free: 10.32 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5936, allocations: 4.828 kB / 1.36 GB, free: 10.31 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5936, allocations: 0 / 1.36 GB, free: 10.31 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.5937, allocations: 7.984 kB / 1.36 GB, free: 10.3 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5937, allocations: 7.938 kB / 1.36 GB, free: 10.3 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.5937, allocations: 3.938 kB / 1.36 GB, free: 10.29 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5937, allocations: 0.7031 kB / 1.36 GB, free: 10.29 MB / 0.8311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.453e-05/0.5938, allocations: 108.9 kB / 1.36 GB, free: 10.18 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.5938, allocations: 4.125 kB / 1.36 GB, free: 10.18 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.5939, allocations: 7.469 kB / 1.36 GB, free: 10.17 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.5939, allocations: 7.938 kB / 1.36 GB, free: 10.16 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5939, allocations: 0 / 1.36 GB, free: 10.16 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5939, allocations: 0 / 1.36 GB, free: 10.16 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.5941, allocations: 447.3 kB / 1.36 GB, free: 9.676 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5942, allocations: 0 / 1.36 GB, free: 9.676 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.5942, allocations: 0 / 1.36 GB, free: 9.676 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5942, allocations: 4 kB / 1.36 GB, free: 9.672 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.5942, allocations: 64 / 1.36 GB, free: 9.672 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5942, allocations: 4 kB / 1.36 GB, free: 9.668 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5942, allocations: 0 / 1.36 GB, free: 9.668 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.647e-05/0.5943, allocations: 90.42 kB / 1.36 GB, free: 9.555 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.5943, allocations: 85.02 kB / 1.36 GB, free: 9.453 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.5943, allocations: 0 / 1.36 GB, free: 9.453 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.5944, allocations: 4.031 kB / 1.36 GB, free: 9.449 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.5944, allocations: 11.83 kB / 1.36 GB, free: 9.438 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.5944, allocations: 4 kB / 1.36 GB, free: 9.434 MB / 0.8311 GB Notification: Performance of sort global known variables: time 4.732e-05/0.5944, allocations: 101 kB / 1.36 GB, free: 9.336 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0001562/0.5946, allocations: 4 kB / 1.36 GB, free: 9.332 MB / 0.8311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.662e-05/0.5947, allocations: 99.25 kB / 1.361 GB, free: 9.227 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.5947, allocations: 15.98 kB / 1.361 GB, free: 9.211 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.5947, allocations: 4.125 kB / 1.361 GB, free: 9.207 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-06/0.5947, allocations: 7.938 kB / 1.361 GB, free: 9.199 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.422e-05/0.5948, allocations: 17.91 kB / 1.361 GB, free: 9.184 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.595, allocations: 96.34 kB / 1.361 GB, free: 9.062 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.5952, allocations: 0.7036 MB / 1.361 GB, free: 8.332 MB / 0.8311 GB Notification: Performance of SimCode: time 2.51e-07/0.5952, allocations: 128 / 1.361 GB, free: 8.332 MB / 0.8311 GB Notification: Performance of Templates: time 0.001622/0.5969, allocations: 330.5 kB / 1.362 GB, free: 8.012 MB / 0.8311 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches