Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009387/0.0009386, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009585/0.0009582, allocations: 97.22 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.448e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7359/0.953, allocations: 131.3 MB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.9534, allocations: 64.09 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002884/0.9563, allocations: 1.168 MB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9563, allocations: 0 / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9563, allocations: 4 kB / 1.021 GB, free: 2.316 MB / 0.6355 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.0003514/0.9567, allocations: 358 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9567, allocations: 8.031 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.9568, allocations: 15.91 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.957, allocations: 182.2 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.957, allocations: 4 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.957, allocations: 7.688 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.9572, allocations: 91.34 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9572, allocations: 7.922 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.9572, allocations: 4 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9572, allocations: 0 / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.9573, allocations: 37.81 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.9579, allocations: 466.3 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.958, allocations: 47.16 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.9581, allocations: 17.53 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.9581, allocations: 0 / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.9581, allocations: 37.3 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9581, allocations: 0 / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.9583, allocations: 48.92 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.9584, allocations: 85.09 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.9585, allocations: 153.6 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9586, allocations: 28.89 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.9586, allocations: 110.4 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.9587, allocations: 7.906 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.9587, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9588, allocations: 321.7 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.9588, allocations: 8 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.9589, allocations: 24.72 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.9589, allocations: 4 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9589, allocations: 7.953 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.95e-05/0.959, allocations: 60.53 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.959, allocations: 8 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.9591, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.9591, allocations: 4.062 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.9592, allocations: 12.31 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9592, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.9592, allocations: 7.922 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.9592, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.6355 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 (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 9.663e-05/0.9593, allocations: 104.9 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.9594, allocations: 15.77 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.9594, allocations: 16.17 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.9594, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9594, allocations: 3.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9595, allocations: 8 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.9598, allocations: 481.5 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9599, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.9599, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9599, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.9599, allocations: 3.938 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.9599, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9599, allocations: 4.062 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.636e-05/0.96, allocations: 89.89 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.9601, allocations: 95.69 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.9601, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.306e-05/0.9601, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.9602, allocations: 4.125 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.9602, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.9603, allocations: 124.7 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9603, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001773/0.9605, allocations: 8 kB / 1.024 GB, free: 15.05 MB / 0.6511 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 () * 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.0001491/0.9606, allocations: 107.2 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.9607, allocations: 22.98 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9607, allocations: 4.125 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.9607, allocations: 7.938 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.9609, allocations: 7.75 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.9611, allocations: 106.7 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.9614, allocations: 0.7004 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.9615, allocations: 8.562 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.9615, allocations: 15.38 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.9615, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002411/0.9639, allocations: 462.6 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches