Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.708/1.708, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.000906/0.0009061, allocations: 181.3 kB / 490.8 MB, free: 1.934 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.044/1.044, allocations: 221.4 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 103.2 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.211e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.6106, allocations: 148.8 MB / 1.357 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001548/0.6108, allocations: 65.3 kB / 1.357 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001976/0.6128, allocations: 0.7786 MB / 1.358 GB, free: 17.16 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6128, allocations: 1.531 kB / 1.358 GB, free: 17.16 MB / 0.823 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.0002297/0.6131, allocations: 357 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.6131, allocations: 10.64 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.6131, allocations: 7.688 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.6132, allocations: 179.1 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6132, allocations: 5.156 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.6133, allocations: 4.281 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.519e-05/0.6133, allocations: 30.14 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.6134, allocations: 86.44 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6135, allocations: 2.516 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.6135, allocations: 5.781 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6135, allocations: 2.125 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.6139, allocations: 408.5 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.379e-05/0.6139, allocations: 41.58 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.6139, allocations: 18.69 kB / 1.359 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.614, allocations: 1.031 kB / 1.359 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.614, allocations: 32.28 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.614, allocations: 4 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.6141, allocations: 47.66 kB / 1.359 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.6141, allocations: 78.08 kB / 1.359 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.6142, allocations: 112.8 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.6142, allocations: 25.7 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.6143, allocations: 108.6 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-06/0.6143, allocations: 9.297 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.6143, allocations: 0.875 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.6144, allocations: 318.3 kB / 1.36 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.6144, allocations: 6.969 kB / 1.36 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.6144, allocations: 18.81 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.739e-05/0.6144, allocations: 4.938 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6144, allocations: 0 / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.335e-05/0.6145, allocations: 58.91 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.6145, allocations: 10.11 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6145, allocations: 1.656 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.6145, allocations: 0 / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.6146, allocations: 10.58 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.6146, allocations: 1.812 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.6146, allocations: 5.156 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.6146, allocations: 1.062 kB / 1.36 GB, free: 31.34 MB / 0.8386 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.622e-05/0.6147, allocations: 110.4 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.6147, allocations: 7.219 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.6147, allocations: 11.19 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6148, allocations: 4.875 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6148, allocations: 0 / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6148, allocations: 1.578 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.615, allocations: 439.7 kB / 1.36 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.615, allocations: 1.953 kB / 1.36 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.615, allocations: 7.656 kB / 1.36 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6151, allocations: 5.891 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.6151, allocations: 1.219 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6151, allocations: 0 / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6151, allocations: 1.969 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.842e-05/0.6151, allocations: 80.3 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.6152, allocations: 88.95 kB / 1.36 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.6152, allocations: 5.125 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.6152, allocations: 0.5625 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.6152, allocations: 5.547 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.6152, allocations: 2.781 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.568e-05/0.6153, allocations: 102 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001611/0.6154, allocations: 7.875 kB / 1.36 GB, free: 30.5 MB / 0.8386 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.514e-05/0.6155, allocations: 101.3 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.258e-05/0.6156, allocations: 17.56 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.6156, allocations: 0 / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.6156, allocations: 8.688 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.026e-05/0.6157, allocations: 6.969 kB / 1.361 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.6159, allocations: 108.6 kB / 1.361 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.6161, allocations: 0.7101 MB / 1.361 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/0.6161, allocations: 3.938 kB / 1.361 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.001606/0.6177, allocations: 342.4 kB / 1.362 GB, free: 29.53 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches