Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 196.8 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 74.2 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3577, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002226/0.36, allocations: 0.8826 MB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.3602, allocations: 43.78 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.3602, allocations: 0 / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.3603, allocations: 3.938 kB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.3604, allocations: 3.938 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.699e-05/0.3604, allocations: 19.98 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.3605, allocations: 67.75 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3607, allocations: 39.95 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.3607, allocations: 23.86 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.3608, allocations: 23.86 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3608, allocations: 11.94 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.3608, allocations: 7.938 kB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3609, allocations: 11.98 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3609, allocations: 31.75 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.361, allocations: 68.05 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.361, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.361, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3611, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 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.0004854/0.3615, allocations: 379.3 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3616, allocations: 12.03 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3616, allocations: 8.844 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3619, allocations: 200.1 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3619, allocations: 8.375 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3619, allocations: 4.375 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3621, allocations: 97.2 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3621, allocations: 192 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3621, allocations: 7.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3621, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.3622, allocations: 43.92 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3628, allocations: 436.6 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.3628, allocations: 49.17 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.3629, allocations: 25.84 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.3629, allocations: 0 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3629, allocations: 30.56 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3629, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.3631, allocations: 57.47 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3632, allocations: 85.36 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3633, allocations: 161.3 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3633, allocations: 25.7 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.3634, allocations: 99.98 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3635, allocations: 11.89 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3635, allocations: 13.72 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3636, allocations: 318.8 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.3636, allocations: 7.984 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.3637, allocations: 25.66 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.3637, allocations: 25.72 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3637, allocations: 0 / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.051e-05/0.3638, allocations: 57.53 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3638, allocations: 8 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3639, allocations: 3.938 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3639, allocations: 4.156 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.3639, allocations: 4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.364, allocations: 4 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.364, allocations: 11.83 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.364, allocations: 7.938 kB / 1.055 GB, free: 5.203 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.3641, allocations: 113.8 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3641, allocations: 7.906 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3642, allocations: 15.81 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3642, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3642, allocations: 4 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3642, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3646, allocations: 470.8 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3646, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.3646, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3646, allocations: 15.86 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3646, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3646, allocations: 8.047 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3646, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.3647, allocations: 73.84 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.3648, allocations: 93 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3648, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.3648, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.3649, allocations: 4.031 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3649, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.303e-05/0.365, allocations: 122.1 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.365, allocations: 0 / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001864/0.3652, allocations: 8 kB / 1.056 GB, free: 4.164 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.3653, allocations: 103.2 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.3654, allocations: 15.98 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3654, allocations: 4.125 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.3654, allocations: 11.94 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.3656, allocations: 11.94 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.3659, allocations: 180.6 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3662, allocations: 0.6926 MB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.3662, allocations: 4.438 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.3662, allocations: 11.44 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3663, allocations: 0 / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.002452/0.3687, allocations: 436.5 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches