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_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.From_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.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, 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.001237/0.001237, allocations: 176.8 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.012/2.012, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009006/0.0009005, allocations: 102.2 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 8.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 106.4 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.3927, allocations: 131.4 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.3931, allocations: 67.95 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00385/0.397, allocations: 1.157 MB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.397, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.397, allocations: 4 kB / 1.03 GB, free: 11.08 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.0004539/0.3975, allocations: 366.9 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.3976, allocations: 16.23 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.3976, allocations: 7.906 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3978, allocations: 194.7 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3979, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3979, allocations: 12 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.3982, allocations: 95.38 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3982, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3982, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3982, allocations: 4 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3984, allocations: 43.92 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.3992, allocations: 460.5 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/0.3993, allocations: 41.28 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3993, allocations: 8.062 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3994, allocations: 34.56 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.3994, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002782/0.3997, allocations: 57.53 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3997, allocations: 77.11 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4, allocations: 157.3 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4, allocations: 25.7 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.4001, allocations: 112.1 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.4001, allocations: 19.83 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.4001, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4003, allocations: 314.8 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.4003, allocations: 7.984 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.4004, allocations: 21.72 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.4004, allocations: 8 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4004, allocations: 0 / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.4006, allocations: 73.48 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4006, allocations: 4 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4006, allocations: 4 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4007, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.4008, allocations: 4 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4008, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.4008, allocations: 4.672 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.4008, allocations: 0 / 1.032 GB, free: 8.699 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.0001164/0.401, allocations: 117.9 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.4011, allocations: 19.75 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.4011, allocations: 16.5 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4011, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4011, allocations: 4 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4011, allocations: 0 / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.4017, allocations: 482.8 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4017, allocations: 4.062 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.4018, allocations: 0 / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4018, allocations: 4 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4018, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4018, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4018, allocations: 3.938 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.402, allocations: 99.56 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.4021, allocations: 89 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4021, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.4022, allocations: 4 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.4022, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4022, allocations: 4 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000141/0.4024, allocations: 128.8 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4024, allocations: 0 / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003327/0.4027, allocations: 15.84 kB / 1.033 GB, free: 7.609 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.0001415/0.4029, allocations: 103.3 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.403, allocations: 23.92 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.403, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.4031, allocations: 8 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.4032, allocations: 7.953 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.4038, allocations: 194.2 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4041, allocations: 0.7043 MB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.4042, allocations: 12.42 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4042, allocations: 11.44 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of SimCode: time 4.1e-07/0.4043, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of Templates: time 0.003295/0.4076, allocations: 447.7 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches