Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [: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.752/1.752, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009534/0.0009535, allocations: 190 kB / 487 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.105/1.105, allocations: 221.3 MB / 0.7819 GB, free: 6.801 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 95.06 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 4 kB / 1.066 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5307, allocations: 142.3 MB / 1.205 GB, free: 73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.6819, allocations: 148 MB / 1.35 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.6821, allocations: 60.94 kB / 1.35 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.002134/0.6842, allocations: 0.7789 MB / 1.351 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6842, allocations: 1 kB / 1.351 GB, free: 14.54 MB / 0.8542 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.0002466/0.6845, allocations: 355.3 kB / 1.351 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6845, allocations: 8.031 kB / 1.351 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.6846, allocations: 8.406 kB / 1.351 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6847, allocations: 179.6 kB / 1.351 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6847, allocations: 0 / 1.351 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6847, allocations: 4.562 kB / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.667e-05/0.6848, allocations: 39.84 kB / 1.351 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.6849, allocations: 79.75 kB / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.685, allocations: 1.875 kB / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.685, allocations: 0 / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.685, allocations: 7.984 kB / 1.351 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.6854, allocations: 410.3 kB / 1.352 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.6855, allocations: 37.16 kB / 1.352 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.6855, allocations: 21.62 kB / 1.352 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.6855, allocations: 0 / 1.352 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6855, allocations: 34.56 kB / 1.352 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.6856, allocations: 96 / 1.352 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.6857, allocations: 44.39 kB / 1.352 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6857, allocations: 81.05 kB / 1.352 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.6858, allocations: 117 kB / 1.352 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.6858, allocations: 25.7 kB / 1.352 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.6859, allocations: 112 kB / 1.352 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-06/0.6859, allocations: 3.906 kB / 1.352 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6859, allocations: 1.125 kB / 1.352 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.686, allocations: 318.8 kB / 1.352 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.686, allocations: 8.531 kB / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.686, allocations: 22.81 kB / 1.352 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.865e-05/0.686, allocations: 4.75 kB / 1.352 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6861, allocations: 0 / 1.352 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.572e-05/0.6861, allocations: 58.59 kB / 1.352 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6862, allocations: 7.125 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.6862, allocations: 0 / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.6862, allocations: 0.625 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.6862, allocations: 8 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6862, allocations: 4.688 kB / 1.352 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.6863, allocations: 8.781 kB / 1.352 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.6863, allocations: 9.312 kB / 1.353 GB, free: 12.36 MB / 0.8542 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.862e-05/0.6863, allocations: 105 kB / 1.353 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.6864, allocations: 7.906 kB / 1.353 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.6864, allocations: 3.469 kB / 1.353 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6864, allocations: 0 / 1.353 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6864, allocations: 4 kB / 1.353 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6864, allocations: 0 / 1.353 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.6867, allocations: 452.1 kB / 1.353 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6867, allocations: 0 / 1.353 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.6868, allocations: 7.938 kB / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.6868, allocations: 0 / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.6868, allocations: 0.8125 kB / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6868, allocations: 4 kB / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6868, allocations: 0 / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.192e-05/0.6869, allocations: 88.53 kB / 1.353 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.6869, allocations: 85.09 kB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.6869, allocations: 0 / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.6869, allocations: 0.5625 kB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.687, allocations: 11.84 kB / 1.353 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.687, allocations: 0 / 1.353 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.056e-05/0.687, allocations: 103.1 kB / 1.353 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001654/0.6872, allocations: 12.03 kB / 1.353 GB, free: 11.39 MB / 0.8542 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 9.183e-05/0.6873, allocations: 95.25 kB / 1.353 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.639e-05/0.6874, allocations: 16 kB / 1.353 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6874, allocations: 1.969 kB / 1.353 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-06/0.6874, allocations: 7.938 kB / 1.353 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.57e-05/0.6875, allocations: 7.906 kB / 1.353 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.6877, allocations: 107.2 kB / 1.354 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.6879, allocations: 0.7075 MB / 1.354 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.1e-07/0.6879, allocations: 0 / 1.354 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.001712/0.6896, allocations: 333.7 kB / 1.355 GB, free: 10.1 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches