Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 252 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 186.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.5775 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000821/0.000821, allocations: 96.17 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 9.125 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.3596, allocations: 131.4 MB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3598, allocations: 71.94 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00272/0.3626, allocations: 1.157 MB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3626, allocations: 0 / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.3626, allocations: 8 kB / 1.03 GB, free: 11.62 MB / 0.6823 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.0004006/0.363, allocations: 379.1 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3631, allocations: 8.031 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3632, allocations: 11.84 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3633, allocations: 188.4 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3634, allocations: 8 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3634, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3636, allocations: 97.56 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3636, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3636, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3636, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.3637, allocations: 39.92 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.3644, allocations: 456.5 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.3645, allocations: 45.41 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3645, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3645, allocations: 34.56 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3646, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002297/0.3648, allocations: 61.53 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.3649, allocations: 77.11 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.365, allocations: 157.3 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3651, allocations: 25.7 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3652, allocations: 108.2 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.3652, allocations: 15.84 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.3652, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3654, allocations: 318.8 kB / 1.032 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.3654, allocations: 15.94 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.3654, allocations: 17.72 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.3655, allocations: 8 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3655, allocations: 0 / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/0.3656, allocations: 73.48 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3656, allocations: 8 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3656, allocations: 0 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3656, allocations: 0 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.3657, allocations: 4 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3657, allocations: 4 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.3658, allocations: 0.8281 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3658, allocations: 3.938 kB / 1.032 GB, free: 9.242 MB / 0.6823 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.3659, allocations: 121.9 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.366, allocations: 23.7 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.366, allocations: 8.562 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.366, allocations: 4 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.366, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.366, allocations: 96 / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.3665, allocations: 486.8 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3665, allocations: 64 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.3665, allocations: 8 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3665, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3665, allocations: 4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3665, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3665, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3667, allocations: 103.5 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.3667, allocations: 89 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3668, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.3668, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.3668, allocations: 4 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3668, allocations: 0 / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3669, allocations: 124.9 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3669, allocations: 4 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002235/0.3672, allocations: 11.91 kB / 1.033 GB, free: 8.152 MB / 0.6823 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.0001186/0.3673, allocations: 111.2 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.3674, allocations: 19.94 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3674, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.3674, allocations: 4 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3675, allocations: 13.84 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3679, allocations: 198.1 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3682, allocations: 0.7004 MB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.3683, allocations: 12.42 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.3683, allocations: 11.44 kB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.3683, allocations: 0 / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of Templates: time 0.002422/0.3707, allocations: 439.8 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches