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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001422/0.001422, allocations: 195.5 kB / 0.4902 GB, free: 2.309 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.634/1.634, allocations: 223.1 MB / 0.7992 GB, free: 14.8 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.0008718/0.0008718, allocations: 102.2 kB / 0.9396 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 11.97 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 143 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.4798, allocations: 149.7 MB / 1.375 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4801, allocations: 63.97 kB / 1.375 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003534/0.4836, allocations: 1.303 MB / 1.377 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.787e-06/0.4837, allocations: 4 kB / 1.377 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.4837, allocations: 3.938 kB / 1.377 GB, free: 2.746 MB / 0.8698 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.0004543/0.4841, allocations: 376.1 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4842, allocations: 8.031 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.4843, allocations: 15.81 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4845, allocations: 186.8 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4845, allocations: 8.188 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4845, allocations: 8 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.4847, allocations: 106.9 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4848, allocations: 0 / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4848, allocations: 4 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.4848, allocations: 4 kB / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4849, allocations: 51.91 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.4857, allocations: 480.4 kB / 1.378 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/0.4858, allocations: 57.14 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.4858, allocations: 3.938 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.4859, allocations: 34.62 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.554e-06/0.4859, allocations: 224 / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.4861, allocations: 69.53 kB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.4862, allocations: 89.3 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4864, allocations: 156.8 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4864, allocations: 25.7 kB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.4865, allocations: 111.9 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.4865, allocations: 7.906 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.4866, allocations: 0 / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4867, allocations: 322.8 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.4867, allocations: 12 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.4868, allocations: 29.72 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.4868, allocations: 15.92 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4868, allocations: 0 / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001305/0.487, allocations: 77.53 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.487, allocations: 8 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.487, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.487, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.4871, allocations: 11.94 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4871, allocations: 0 / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.4872, allocations: 7.938 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.4872, allocations: 4 kB / 1.379 GB, free: 260 kB / 0.8698 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 () * Number of clocked 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 0.000106/0.4873, allocations: 126.6 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.4874, allocations: 15.81 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.4874, allocations: 8.562 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4874, allocations: 4 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4874, allocations: 0 / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4874, allocations: 0 / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.4879, allocations: 0.516 MB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4879, allocations: 128 / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.488, allocations: 12 kB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.488, allocations: 0 / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.488, allocations: 4 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.488, allocations: 3.984 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.488, allocations: 0 / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.4882, allocations: 142.3 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.4883, allocations: 96.91 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4883, allocations: 11.95 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.4883, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.4884, allocations: 11.94 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4884, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.855e-05/0.4885, allocations: 133.3 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4885, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001897/0.4887, allocations: 8 kB / 1.38 GB, free: 15.03 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 () * Number of clocked 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 0.0001505/0.4888, allocations: 103.2 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4889, allocations: 31.94 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4889, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.489, allocations: 15.94 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4891, allocations: 11.98 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.4896, allocations: 230.4 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4899, allocations: 0.7082 MB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.4899, allocations: 12.48 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.4899, allocations: 15.44 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.4899, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.002629/0.4926, allocations: 472.1 kB / 1.382 GB, free: 13.38 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