Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 11 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.001146/0.001147, allocations: 182.1 kB / 0.4902 GB, free: 2.215 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.535/1.535, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.001015/0.001015, allocations: 104 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005269, allocations: 13.84 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3979, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.5985, allocations: 149.6 MB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.5987, allocations: 63.95 kB / 1.375 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002805/0.6016, allocations: 1.083 MB / 1.376 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6016, allocations: 0 / 1.376 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.6016, allocations: 0 / 1.376 GB, free: 2.715 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004299/0.602, allocations: 371.9 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6021, allocations: 12.25 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.6022, allocations: 11.86 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.6023, allocations: 182.8 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.6024, allocations: 4 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6024, allocations: 12 kB / 1.377 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.6026, allocations: 91.38 kB / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6026, allocations: 4 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6026, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6026, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.6028, allocations: 39.92 kB / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.6035, allocations: 456.5 kB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.62e-05/0.6036, allocations: 41.2 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.6036, allocations: 4 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6036, allocations: 30.66 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.6036, allocations: 3.938 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001958/0.6038, allocations: 45.67 kB / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.6039, allocations: 85.05 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.6041, allocations: 145.4 kB / 1.378 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6041, allocations: 29.95 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.6042, allocations: 104 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.6042, allocations: 7.844 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.6042, allocations: 0 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6044, allocations: 318.8 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.6044, allocations: 11.98 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.6045, allocations: 21.66 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.6045, allocations: 13.55 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6045, allocations: 0 / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.6046, allocations: 65.53 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6047, allocations: 4 kB / 1.378 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.6047, allocations: 0 / 1.378 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6047, allocations: 4 kB / 1.378 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.6048, allocations: 4 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6048, allocations: 0 / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.6048, allocations: 7.906 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6049, allocations: 3.938 kB / 1.378 GB, free: 388 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 (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 0.0001002/0.605, allocations: 122.7 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.605, allocations: 11.89 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.6051, allocations: 11.88 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6051, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6051, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6051, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.6055, allocations: 474.8 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6056, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.6056, allocations: 7.984 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6056, allocations: 3.938 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.6056, allocations: 0 / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6056, allocations: 4 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6056, allocations: 0 / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.389e-05/0.6057, allocations: 91.64 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.6058, allocations: 93 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.6058, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.6058, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.6059, allocations: 4 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6059, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.58e-05/0.606, allocations: 126.5 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.606, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001923/0.6062, allocations: 15.98 kB / 1.379 GB, free: 15.32 MB / 0.8855 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 () * Number of clocked 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 0.0001403/0.6063, allocations: 107.1 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.6064, allocations: 12 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6064, allocations: 4 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.6064, allocations: 11.94 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.6065, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.6069, allocations: 190 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.6072, allocations: 0.6965 MB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.6073, allocations: 12.42 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.6073, allocations: 15.38 kB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.6073, allocations: 0 / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.002432/0.6098, allocations: 416 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches