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_bar.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_bar,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_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,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_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 249.5 MB / 257 MB, free: 6.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 172.9 kB / 316.3 MB, free: 3.273 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.681/1.681, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001162/0.001162, allocations: 94.27 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.854e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.247, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8216/1.069, allocations: 131.6 MB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.069, allocations: 62.53 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002945/1.072, allocations: 1.165 MB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.072, allocations: 0 / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.072, allocations: 4 kB / 1.015 GB, free: 5.098 MB / 0.6355 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.0003726/1.072, allocations: 358.1 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.072, allocations: 8.031 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/1.072, allocations: 15.89 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/1.073, allocations: 182.8 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/1.073, allocations: 4 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/1.073, allocations: 4 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.895e-05/1.073, allocations: 39.44 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/1.073, allocations: 82.89 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.073, allocations: 3.984 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.073, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.073, allocations: 4 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/1.074, allocations: 412.1 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/1.074, allocations: 41.12 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/1.074, allocations: 17.84 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/1.074, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/1.074, allocations: 41.28 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.074, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/1.074, allocations: 45.11 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.074, allocations: 81.11 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.074, allocations: 127 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.074, allocations: 25.7 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/1.074, allocations: 113.3 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/1.074, allocations: 7.906 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/1.074, allocations: 0 / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.074, allocations: 317.7 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/1.074, allocations: 7.25 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/1.074, allocations: 19.56 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/1.074, allocations: 15.38 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.074, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.162e-05/1.074, allocations: 60.08 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/1.075, allocations: 4 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/1.075, allocations: 0.75 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.075, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/1.075, allocations: 4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.075, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/1.075, allocations: 7.906 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/1.075, allocations: 15.92 kB / 1.017 GB, free: 2.953 MB / 0.6355 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 () * 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.357e-05/1.075, allocations: 101 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/1.075, allocations: 7.953 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/1.075, allocations: 19.67 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.075, allocations: 224 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.075, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.075, allocations: 3.938 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/1.075, allocations: 456.8 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.075, allocations: 0 / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.075, allocations: 4 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.075, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/1.075, allocations: 4 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.075, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.075, allocations: 7.922 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/1.076, allocations: 90.08 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/1.076, allocations: 88.34 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/1.076, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/1.076, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/1.076, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/1.076, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.42e-05/1.076, allocations: 107.4 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.076, allocations: 4.031 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001709/1.076, allocations: 8 kB / 1.018 GB, free: 2 MB / 0.6355 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 () * 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.000141/1.076, allocations: 95.25 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.648e-05/1.076, allocations: 21.38 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.076, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/1.076, allocations: 7.312 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/1.076, allocations: 3.953 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/1.077, allocations: 112.4 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/1.077, allocations: 0.6963 MB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.612e-05/1.077, allocations: 8.172 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/1.077, allocations: 11.38 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.284e-06/1.077, allocations: 0 / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of Templates: time 0.002531/1.08, allocations: 330.3 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches