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_ton.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_ton,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_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,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_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 10.87 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.001187/0.001187, allocations: 184.1 kB / 326.5 MB, free: 2.238 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.027/2.027, 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.0009277/0.0009278, allocations: 86.45 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 9.094 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.4057, allocations: 131.4 MB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.406, allocations: 67.95 kB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002636/0.4086, allocations: 1.161 MB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4087, allocations: 0 / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4087, allocations: 4 kB / 1.03 GB, free: 11.64 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.0003414/0.409, allocations: 378.9 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4091, allocations: 12.03 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.4091, allocations: 7.906 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4093, allocations: 188.1 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4093, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.4093, allocations: 12 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.4095, allocations: 98.03 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4095, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4095, allocations: 3.938 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4095, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.4096, allocations: 39.92 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4102, allocations: 456.6 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.738e-05/0.4103, allocations: 37.19 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4103, allocations: 7.984 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4103, allocations: 38.69 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4103, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.4105, allocations: 57.53 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4106, allocations: 77.11 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4107, allocations: 157.3 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4107, allocations: 25.7 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.4108, allocations: 107.9 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.4109, allocations: 12.09 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.4109, allocations: 4 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.411, allocations: 322.8 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.411, allocations: 4 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.4111, allocations: 21.72 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.4111, allocations: 11.94 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4111, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.051e-05/0.4112, allocations: 69.55 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4112, allocations: 4 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4112, allocations: 0 / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4112, allocations: 4 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.4113, allocations: 7.938 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4113, allocations: 3.984 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.4114, allocations: 4 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.4114, allocations: 0 / 1.032 GB, free: 9.258 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.061e-05/0.4115, allocations: 114.7 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.4115, allocations: 23.81 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.4115, allocations: 12.56 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4116, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4116, allocations: 7.938 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4116, allocations: 0 / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.412, allocations: 478.8 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.412, allocations: 7.938 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.412, allocations: 64 / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.412, allocations: 8 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.412, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.412, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.412, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.4121, allocations: 99.5 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4122, allocations: 89.03 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4122, allocations: 8 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.52e-05/0.4123, allocations: 4 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4123, allocations: 0 / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.4123, allocations: 4 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.663e-05/0.4124, allocations: 120.9 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4124, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001808/0.4126, allocations: 15.91 kB / 1.033 GB, free: 8.168 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.0001247/0.4127, allocations: 107.2 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.4128, allocations: 19.92 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4128, allocations: 4 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.4128, allocations: 8 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.4129, allocations: 3.953 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.4132, allocations: 194.2 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.4135, allocations: 0.6965 MB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.4135, allocations: 8.422 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.4136, allocations: 15.44 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of SimCode: time 6.272e-06/0.4136, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of Templates: time 0.002136/0.4157, allocations: 443.7 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches