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.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11 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.001019/0.001019, allocations: 179 kB / 326.5 MB, free: 2.23 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.828/1.828, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008517/0.0008518, allocations: 97.22 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 11.75 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2585, allocations: 106.4 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.438, allocations: 131.4 MB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4383, allocations: 63.97 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002828/0.4411, allocations: 1.161 MB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4411, allocations: 4 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4411, allocations: 4 kB / 1.03 GB, free: 11.48 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.0003673/0.4415, allocations: 367.2 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4416, allocations: 12.03 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4416, allocations: 11.84 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4418, allocations: 196.6 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.4418, allocations: 3.938 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4418, allocations: 12 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.442, allocations: 91.39 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.442, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.442, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.442, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.4421, allocations: 43.91 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.4428, allocations: 460.5 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.4429, allocations: 41.19 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.4429, allocations: 128 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4429, allocations: 38.56 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.4429, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.4431, allocations: 57.53 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4432, allocations: 81.11 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4434, allocations: 149.3 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4434, allocations: 25.7 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.4435, allocations: 107.9 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.4435, allocations: 20.03 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.4435, allocations: 4 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4437, allocations: 318.8 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.4437, allocations: 4 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.4437, allocations: 29.64 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.4438, allocations: 8 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4438, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.878e-05/0.4439, allocations: 69.55 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4439, allocations: 4 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4439, allocations: 4 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.444, allocations: 3.938 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.4441, allocations: 4 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4441, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.4441, allocations: 4 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4441, allocations: 4 kB / 1.032 GB, free: 9.098 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.0001231/0.4443, allocations: 116.2 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.4443, allocations: 23.7 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.4444, allocations: 12.55 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4444, allocations: 0 / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4444, allocations: 4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4444, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.4449, allocations: 478.8 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4449, allocations: 4 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.4449, allocations: 4.062 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4449, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4449, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4449, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4449, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.4451, allocations: 103.5 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.4451, allocations: 85.02 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.4452, allocations: 8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.4452, allocations: 3.984 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.4452, allocations: 0 / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4452, allocations: 4 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001061/0.4453, allocations: 124.9 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4453, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000176/0.4455, allocations: 11.91 kB / 1.033 GB, free: 8.016 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.0001805/0.4457, allocations: 107.2 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.4458, allocations: 23.92 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4458, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.4459, allocations: 8 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.446, allocations: 17.39 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.4465, allocations: 190.1 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.4469, allocations: 0.7043 MB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.447, allocations: 8.438 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.447, allocations: 11.44 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.447, allocations: 0 / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of Templates: time 0.002835/0.4498, allocations: 451.9 kB / 1.034 GB, free: 6.457 MB / 0.6823 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