Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.1-maint.9.1.x/package.mo): time 1.768/1.768, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001021/0.001021, allocations: 193.2 kB / 487 MB, free: 5.352 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.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 105.5 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.832e-06/6.842e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1979, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.7065, allocations: 148 MB / 1.35 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001591/0.7067, allocations: 64.08 kB / 1.35 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002002/0.7088, allocations: 0.78 MB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7088, allocations: 1.938 kB / 1.351 GB, free: 15.64 MB / 0.8073 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.0001943/0.709, allocations: 354.4 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.709, allocations: 9 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.709, allocations: 8.406 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.7091, allocations: 177.9 kB / 1.351 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.7092, allocations: 2.344 kB / 1.351 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.7092, allocations: 8.5 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.664e-05/0.7093, allocations: 37.73 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.7094, allocations: 82.58 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.7094, allocations: 1.031 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.7094, allocations: 1.453 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7094, allocations: 2.094 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.7098, allocations: 409.1 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.044e-05/0.7098, allocations: 31.91 kB / 1.352 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.7099, allocations: 19.88 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.7099, allocations: 5.375 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.087e-06/0.7099, allocations: 35.97 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7099, allocations: 0 / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001205/0.71, allocations: 43.3 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.71, allocations: 78.48 kB / 1.352 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.7101, allocations: 118.2 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.7101, allocations: 31.08 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.7101, allocations: 109.7 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.7102, allocations: 5.219 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.7102, allocations: 0 / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.7102, allocations: 319.1 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.7102, allocations: 4.75 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.7102, allocations: 22.22 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.7103, allocations: 13.31 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7103, allocations: 0 / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.311e-05/0.7103, allocations: 49.38 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.7104, allocations: 4.812 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7104, allocations: 1.281 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.7104, allocations: 1.219 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.7104, allocations: 15.03 kB / 1.352 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.7104, allocations: 0 / 1.352 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.7105, allocations: 11.28 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.7105, allocations: 9.031 kB / 1.353 GB, free: 13.82 MB / 0.8073 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 3.165e-05/0.7105, allocations: 103.8 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.7106, allocations: 6.594 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.7106, allocations: 7.312 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7106, allocations: 0 / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.7106, allocations: 1.312 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7106, allocations: 5 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.7108, allocations: 450.2 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7108, allocations: 0 / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.7109, allocations: 4.344 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7109, allocations: 1.375 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.7109, allocations: 1.594 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7109, allocations: 0 / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7109, allocations: 5.312 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.087e-05/0.7109, allocations: 88.3 kB / 1.353 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.711, allocations: 85.27 kB / 1.353 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.711, allocations: 5.312 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.711, allocations: 0 / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.711, allocations: 11.19 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.711, allocations: 1.375 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.355e-05/0.7111, allocations: 101 kB / 1.353 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001648/0.7112, allocations: 12.28 kB / 1.353 GB, free: 12.98 MB / 0.8073 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 6.504e-05/0.7113, allocations: 98.39 kB / 1.353 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.7114, allocations: 13.47 kB / 1.353 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7114, allocations: 0.7812 kB / 1.353 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.7114, allocations: 7.156 kB / 1.353 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.384e-05/0.7115, allocations: 10.09 kB / 1.353 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.7117, allocations: 102.4 kB / 1.354 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.7119, allocations: 0.7067 MB / 1.354 GB, free: 28.09 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/0.7119, allocations: 0 / 1.354 GB, free: 28.09 MB / 0.823 GB Notification: Performance of Templates: time 0.001665/0.7136, allocations: 325.1 kB / 1.355 GB, free: 28.04 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches