Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") [: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.669/1.669, allocations: 390.4 MB / 397.7 MB, free: 10.73 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.0009256/0.0009256, allocations: 177 kB / 490.8 MB, free: 11.24 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.031/1.031, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 95.33 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 6.423e-06/6.452e-06, allocations: 4 kB / 1.072 GB, free: 15.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4499, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.5705, allocations: 148.9 MB / 1.357 GB, free: 42.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001538/0.5707, allocations: 61.16 kB / 1.357 GB, free: 42.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.002195/0.5729, allocations: 0.9802 MB / 1.358 GB, free: 41.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.573, allocations: 4 kB / 1.358 GB, free: 41.76 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0001982/0.5732, allocations: 378.8 kB / 1.358 GB, free: 41.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.5732, allocations: 8.031 kB / 1.358 GB, free: 41.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.5732, allocations: 11.81 kB / 1.358 GB, free: 41.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5733, allocations: 179.6 kB / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5734, allocations: 4.688 kB / 1.359 GB, free: 41.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.5734, allocations: 7.938 kB / 1.359 GB, free: 41.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.377e-05/0.5735, allocations: 44.89 kB / 1.359 GB, free: 41.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.5736, allocations: 93.56 kB / 1.359 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.5736, allocations: 1.781 kB / 1.359 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5736, allocations: 1.312 kB / 1.359 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5736, allocations: 0 / 1.359 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.574, allocations: 441.3 kB / 1.359 GB, free: 40.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.5741, allocations: 58.23 kB / 1.359 GB, free: 40.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.5741, allocations: 27.53 kB / 1.359 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.5741, allocations: 0 / 1.359 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.5741, allocations: 36.94 kB / 1.359 GB, free: 40.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5741, allocations: 0 / 1.359 GB, free: 40.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001341/0.5743, allocations: 57.53 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.487e-05/0.5743, allocations: 77.61 kB / 1.359 GB, free: 40.19 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.5744, allocations: 121.9 kB / 1.359 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-06/0.5744, allocations: 29.7 kB / 1.359 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.5744, allocations: 108.6 kB / 1.36 GB, free: 39.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.5744, allocations: 15.75 kB / 1.36 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.5744, allocations: 1.344 kB / 1.36 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.5745, allocations: 318.8 kB / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.5745, allocations: 8 kB / 1.36 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.5745, allocations: 26.5 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.5745, allocations: 10.34 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5745, allocations: 4 kB / 1.36 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.054e-05/0.5746, allocations: 65.53 kB / 1.36 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.5746, allocations: 13.8 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.5746, allocations: 224 / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5746, allocations: 0.9062 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.5747, allocations: 11.94 kB / 1.36 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5747, allocations: 5.125 kB / 1.36 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.5748, allocations: 5.125 kB / 1.36 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.5748, allocations: 0 / 1.36 GB, free: 39.43 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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.185e-05/0.5748, allocations: 105.6 kB / 1.36 GB, free: 39.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.5748, allocations: 8.469 kB / 1.36 GB, free: 39.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.5749, allocations: 16.69 kB / 1.36 GB, free: 39.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5749, allocations: 0 / 1.36 GB, free: 39.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5749, allocations: 7.906 kB / 1.36 GB, free: 39.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5749, allocations: 0.8125 kB / 1.36 GB, free: 39.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.5751, allocations: 487.4 kB / 1.361 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5751, allocations: 1.625 kB / 1.361 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.5752, allocations: 4.75 kB / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5752, allocations: 4 kB / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.5752, allocations: 0.5312 kB / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5752, allocations: 4 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5752, allocations: 0.7188 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.205e-05/0.5753, allocations: 140.1 kB / 1.361 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.5753, allocations: 89.69 kB / 1.361 GB, free: 38.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5753, allocations: 4.5 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.5754, allocations: 0 / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.5754, allocations: 5.062 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5754, allocations: 4 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.475e-05/0.5754, allocations: 108.6 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001639/0.5756, allocations: 11.94 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.127e-05/0.5757, allocations: 95.97 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.5757, allocations: 28.94 kB / 1.361 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5757, allocations: 4 kB / 1.361 GB, free: 38.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.5758, allocations: 12.61 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.954e-05/0.5759, allocations: 12.72 kB / 1.361 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.5761, allocations: 132.4 kB / 1.361 GB, free: 38.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5762, allocations: 0.7162 MB / 1.362 GB, free: 37.28 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5762, allocations: 0 / 1.362 GB, free: 37.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.001684/0.5779, allocations: 425 kB / 1.362 GB, free: 36.92 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches