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_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.To_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.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001253/0.001253, allocations: 180.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008537/0.0008536, allocations: 94.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 11.72 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2026, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.3598, allocations: 131.4 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.36, allocations: 63.97 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002765/0.3628, allocations: 1.177 MB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3628, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3629, allocations: 8 kB / 1.03 GB, free: 11.09 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.0004155/0.3633, allocations: 371.2 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3633, allocations: 12.02 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.3634, allocations: 11.84 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3636, allocations: 180.6 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3636, allocations: 11.94 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3636, allocations: 8 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3638, allocations: 91.38 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3638, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3638, allocations: 8 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3638, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.3639, allocations: 39.92 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.3645, allocations: 464.5 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.3646, allocations: 37.25 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.3646, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3646, allocations: 38.56 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3646, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.3648, allocations: 57.59 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3649, allocations: 77.11 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3651, allocations: 157.3 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3651, allocations: 25.7 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.3652, allocations: 111.9 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.3652, allocations: 8.094 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.3652, allocations: 4 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3653, allocations: 318.8 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.3653, allocations: 11.98 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.3654, allocations: 21.66 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.3654, allocations: 8 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3654, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.3655, allocations: 69.58 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3655, allocations: 8 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3655, allocations: 4 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.3656, allocations: 3.938 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.3656, allocations: 4 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3656, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.3657, allocations: 4.609 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3657, allocations: 4 kB / 1.032 GB, free: 8.707 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 8.051e-05/0.3658, allocations: 115.7 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.3658, allocations: 27.72 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3659, allocations: 8.656 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3659, allocations: 7.984 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3659, allocations: 0 / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3659, allocations: 0 / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3663, allocations: 482.8 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3663, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.3664, allocations: 4.062 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3664, allocations: 4 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3664, allocations: 0 / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3664, allocations: 0 / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3664, allocations: 4 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.3665, allocations: 95.5 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3666, allocations: 93.03 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3666, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.3666, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.3667, allocations: 8 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3667, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.3668, allocations: 124.9 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3668, allocations: 0 / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001759/0.3669, allocations: 19.84 kB / 1.033 GB, free: 7.617 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.0001274/0.3671, allocations: 99.25 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.3672, allocations: 23.92 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3672, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.3672, allocations: 4 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.3673, allocations: 11.95 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.3677, allocations: 202.1 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3679, allocations: 0.6965 MB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.368, allocations: 8.422 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.368, allocations: 15.44 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/0.368, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of Templates: time 0.002164/0.3702, allocations: 451.7 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches