Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.761/1.761, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001022/0.001022, allocations: 184.6 kB / 487 MB, free: 5.418 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.123/1.123, allocations: 221.3 MB / 0.7819 GB, free: 1.496 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.000853/0.000853, allocations: 91 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.742e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5315/0.7292, allocations: 148 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.7295, allocations: 66.64 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002016/0.7315, allocations: 0.7693 MB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.7315, allocations: 5.375 kB / 1.351 GB, free: 15.88 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.000204/0.7317, allocations: 354.2 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.7318, allocations: 10.52 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.7318, allocations: 8.062 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7319, allocations: 172.4 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.7319, allocations: 6.281 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.732, allocations: 5.188 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/0.732, allocations: 33.06 kB / 1.351 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.7321, allocations: 89.17 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7322, allocations: 0 / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7322, allocations: 5.328 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7322, allocations: 1.312 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.7326, allocations: 407 kB / 1.352 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.7326, allocations: 42.69 kB / 1.352 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.7326, allocations: 18.75 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.7327, allocations: 4 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.7327, allocations: 31.88 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.7327, allocations: 0 / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.7328, allocations: 44.06 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.7328, allocations: 83.41 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.7329, allocations: 111.4 kB / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.7329, allocations: 30.53 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.733, allocations: 115.4 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/0.733, allocations: 6.594 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.733, allocations: 0 / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.733, allocations: 317.1 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.733, allocations: 3.875 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.7331, allocations: 18.84 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.996e-05/0.7331, allocations: 12.72 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7331, allocations: 3.938 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.507e-05/0.7332, allocations: 51.11 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.7332, allocations: 9.875 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7332, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7332, allocations: 1.25 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.7333, allocations: 6.797 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7333, allocations: 1.344 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.7333, allocations: 9.344 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.7333, allocations: 1.406 kB / 1.352 GB, free: 14.06 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.323e-05/0.7334, allocations: 113.9 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.7334, allocations: 6.625 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.7334, allocations: 6.766 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7334, allocations: 0 / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7334, allocations: 3.594 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7334, allocations: 1.5 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.7337, allocations: 441 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.7337, allocations: 5.156 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.7337, allocations: 3.438 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7337, allocations: 0 / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.7337, allocations: 1.562 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7337, allocations: 1.594 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7337, allocations: 1.438 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.215e-05/0.7338, allocations: 90.69 kB / 1.353 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.7338, allocations: 81.42 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.7338, allocations: 2.812 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.7339, allocations: 1.344 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.7339, allocations: 6.531 kB / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.7339, allocations: 2.922 kB / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.559e-05/0.7339, allocations: 103.5 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001638/0.7341, allocations: 7.094 kB / 1.353 GB, free: 13.23 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 7.888e-05/0.7342, allocations: 106.8 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.952e-05/0.7342, allocations: 16.34 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.7342, allocations: 0 / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.7342, allocations: 5.516 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.807e-05/0.7343, allocations: 6.25 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.7345, allocations: 109.5 kB / 1.354 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.7347, allocations: 0.7087 MB / 1.354 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.7347, allocations: 0 / 1.354 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.001711/0.7364, allocations: 336.1 kB / 1.355 GB, free: 12.28 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches