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.454/1.454, allocations: 252 MB / 266.9 MB, free: 11.05 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.001264/0.001264, allocations: 179.3 kB / 326.5 MB, free: 2.246 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.708/1.708, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0007961/0.0007962, allocations: 82.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 13.75 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2175, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.3783, allocations: 131.4 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3786, allocations: 67.97 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002616/0.3812, allocations: 1.173 MB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3812, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3812, allocations: 0 / 1.03 GB, free: 11.1 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.0003588/0.3816, allocations: 371.2 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3816, allocations: 12.02 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3817, allocations: 15.84 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3818, allocations: 178.9 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3819, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3819, allocations: 15.94 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.382, allocations: 99.31 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.382, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3821, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3821, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3822, allocations: 43.92 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.3827, allocations: 460.5 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.3828, allocations: 41.19 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.3828, allocations: 4 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3828, allocations: 38.67 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3828, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.383, allocations: 53.53 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.383, allocations: 81.11 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3832, allocations: 157.6 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3832, allocations: 29.7 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.3833, allocations: 107.9 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.3833, allocations: 7.844 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.3833, allocations: 4 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.3834, allocations: 322.8 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.3834, allocations: 4 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.3834, allocations: 21.66 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.3835, allocations: 16 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3835, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.5e-05/0.3836, allocations: 65.55 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3836, allocations: 4 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3836, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3836, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.3837, allocations: 11.94 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3837, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.3838, allocations: 4.672 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3838, allocations: 4.062 kB / 1.032 GB, free: 8.719 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.813e-05/0.3839, allocations: 113.8 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.522e-05/0.3839, allocations: 27.69 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.3839, allocations: 8.562 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3839, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.384, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.384, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.3843, allocations: 490.8 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3844, allocations: 0 / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.3844, allocations: 4 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3844, allocations: 0 / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3844, allocations: 7.938 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3844, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3844, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.3845, allocations: 99.56 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.3846, allocations: 89 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3846, allocations: 4 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.3846, allocations: 4 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.3846, allocations: 0 / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.3846, allocations: 0 / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.544e-05/0.3847, allocations: 128.9 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3848, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001715/0.3849, allocations: 19.88 kB / 1.033 GB, free: 7.625 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.0001145/0.3851, allocations: 95.25 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.3851, allocations: 23.92 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3851, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.3852, allocations: 8 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.3853, allocations: 9.328 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3857, allocations: 208.1 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3859, allocations: 0.7043 MB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.3859, allocations: 4.438 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.386, allocations: 11.44 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.386, allocations: 0 / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of Templates: time 0.00208/0.3881, allocations: 443.8 kB / 1.034 GB, free: 6.074 MB / 0.6823 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