Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.621/2.621, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001158/0.001158, allocations: 179.6 kB / 0.4902 GB, free: 2.242 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.696/1.696, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.00101/0.001011, allocations: 95.95 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004963, allocations: 10.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3194, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.5073, allocations: 149.6 MB / 1.375 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.5076, allocations: 71.89 kB / 1.375 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002404/0.51, allocations: 1.083 MB / 1.376 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.51, allocations: 0 / 1.376 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.51, allocations: 4 kB / 1.376 GB, free: 2.801 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.0003446/0.5104, allocations: 376.1 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5104, allocations: 8.031 kB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.5105, allocations: 15.8 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.5106, allocations: 182.8 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5107, allocations: 4 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.5107, allocations: 8 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.5109, allocations: 87.39 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5109, allocations: 4 kB / 1.377 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.5109, allocations: 3.984 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5109, allocations: 4 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.511, allocations: 39.92 kB / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.5116, allocations: 448.6 kB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.5116, allocations: 37.22 kB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.5116, allocations: 3.984 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5117, allocations: 34.56 kB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.5117, allocations: 0 / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.5119, allocations: 53.61 kB / 1.378 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.5119, allocations: 81.05 kB / 1.378 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.5121, allocations: 153 kB / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.5121, allocations: 25.7 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.5122, allocations: 96.05 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.5122, allocations: 15.83 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.5122, allocations: 4.25 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5124, allocations: 314.8 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.5124, allocations: 11.98 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.5124, allocations: 17.72 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.5124, allocations: 13.55 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5124, allocations: 0 / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.021e-05/0.5125, allocations: 61.59 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5126, allocations: 8 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5126, allocations: 4 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5126, allocations: 0 / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.5127, allocations: 7.938 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5127, allocations: 0 / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.5127, allocations: 11.84 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5127, allocations: 4 kB / 1.378 GB, free: 476 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 8.431e-05/0.5128, allocations: 114.6 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.5129, allocations: 7.906 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.5129, allocations: 19.86 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5129, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5129, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5129, allocations: 4 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.5133, allocations: 470.9 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5133, allocations: 4 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.5133, allocations: 3.984 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5134, allocations: 8.062 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5134, allocations: 7.922 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5134, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5134, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.877e-05/0.5135, allocations: 91.58 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.5135, allocations: 93.03 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5136, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.5136, allocations: 4 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.5136, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.5136, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.855e-05/0.5137, allocations: 123.2 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5137, allocations: 0 / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001702/0.5139, allocations: 11.95 kB / 1.379 GB, free: 15.41 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.0001266/0.514, allocations: 107.1 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.5141, allocations: 19.98 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5141, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.5141, allocations: 11.94 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.5142, allocations: 5.656 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.5146, allocations: 182.8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5149, allocations: 0.6965 MB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.5149, allocations: 8.422 kB / 1.38 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.5149, allocations: 11.44 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5149, allocations: 4 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.00277/0.5177, allocations: 415.9 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches