Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009375/0.0009374, allocations: 177.3 kB / 487 MB, free: 5.371 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.111/1.111, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008369/0.0008369, allocations: 101.5 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.682e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.6831, allocations: 148.1 MB / 1.35 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.6833, allocations: 62.7 kB / 1.35 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002481/0.6858, allocations: 0.9791 MB / 1.351 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6858, allocations: 1.875 kB / 1.351 GB, free: 16.16 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002166/0.6861, allocations: 371.6 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.6861, allocations: 9.219 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.6862, allocations: 17.47 kB / 1.351 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.834e-05/0.6863, allocations: 177.9 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6863, allocations: 3.219 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.6863, allocations: 9.031 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.949e-05/0.6864, allocations: 45.62 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.6865, allocations: 90.12 kB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6865, allocations: 0 / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.6865, allocations: 0 / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6865, allocations: 7 kB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.687, allocations: 449.1 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.687, allocations: 42.59 kB / 1.352 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.6871, allocations: 30.8 kB / 1.352 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.6871, allocations: 0.9688 kB / 1.352 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.6871, allocations: 35.69 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.6871, allocations: 0 / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.000136/0.6872, allocations: 58.31 kB / 1.352 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.6873, allocations: 78.17 kB / 1.352 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.6873, allocations: 128.1 kB / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.6874, allocations: 25.7 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.6874, allocations: 110.2 kB / 1.352 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.6874, allocations: 18.28 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6874, allocations: 0 / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.6874, allocations: 318.5 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.6875, allocations: 9.219 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.6875, allocations: 27.91 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.6875, allocations: 11.69 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6875, allocations: 0.75 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.143e-05/0.6876, allocations: 67.25 kB / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.6876, allocations: 8.688 kB / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6876, allocations: 1.062 kB / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6877, allocations: 5.062 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.6877, allocations: 11.81 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6877, allocations: 5.219 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.6878, allocations: 1.281 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.6878, allocations: 1.688 kB / 1.353 GB, free: 14.32 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 (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.326e-05/0.6878, allocations: 105 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.6879, allocations: 9.094 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.6879, allocations: 19.33 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6879, allocations: 3.938 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6879, allocations: 1.312 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6879, allocations: 1.312 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.6882, allocations: 485 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6882, allocations: 128 / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.6882, allocations: 19.8 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6882, allocations: 1.281 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.6882, allocations: 5.219 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6883, allocations: 1.344 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6883, allocations: 1.312 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.368e-05/0.6883, allocations: 135.1 kB / 1.354 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.6884, allocations: 87.66 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.6884, allocations: 1.344 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.594e-05/0.6884, allocations: 5.359 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.6884, allocations: 10.72 kB / 1.354 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.6884, allocations: 1.438 kB / 1.354 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.143e-05/0.6885, allocations: 108.3 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001733/0.6887, allocations: 17.31 kB / 1.354 GB, free: 13.4 MB / 0.8073 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 6.948e-05/0.6887, allocations: 97.55 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.6888, allocations: 23.66 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6888, allocations: 3.688 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.6888, allocations: 11.5 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.6889, allocations: 8.766 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.6892, allocations: 129.8 kB / 1.354 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.6894, allocations: 0.7129 MB / 1.355 GB, free: 28.49 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.6894, allocations: 0 / 1.355 GB, free: 28.49 MB / 0.823 GB Notification: Performance of Templates: time 0.001767/0.6912, allocations: 421.7 kB / 1.355 GB, free: 28.43 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches