Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009134/0.009134, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.018/3.018, allocations: 462.7 MB / 0.7364 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 9.062 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3887, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001186/0.3899, allocations: 0.5452 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.3901, allocations: 47.78 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.3902, allocations: 0 / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3902, allocations: 3.938 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3904, allocations: 11.92 kB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.834e-05/0.3904, allocations: 15.98 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3905, allocations: 63.75 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3907, allocations: 43.97 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.3908, allocations: 11.88 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.3909, allocations: 23.8 kB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3909, allocations: 4 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.3909, allocations: 0 / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3909, allocations: 15.92 kB / 1.059 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.391, allocations: 49.45 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3911, allocations: 72.03 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3911, allocations: 0 / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3911, allocations: 0 / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3911, allocations: 0 / 1.06 GB, free: 4.535 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.0004627/0.3916, allocations: 363.3 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3917, allocations: 12.03 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3917, allocations: 8.844 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3919, allocations: 188.2 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.392, allocations: 12.38 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.392, allocations: 4.375 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3922, allocations: 96.88 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3922, allocations: 4.125 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3922, allocations: 7.938 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3922, allocations: 4 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.3923, allocations: 35.92 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3929, allocations: 440.5 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.393, allocations: 41.34 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.3931, allocations: 25.7 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3931, allocations: 4 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3931, allocations: 34.56 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3931, allocations: 0 / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.3933, allocations: 53.48 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3934, allocations: 77.11 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3936, allocations: 161.1 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3936, allocations: 29.95 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3937, allocations: 111.9 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.3937, allocations: 4 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3937, allocations: 9.719 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3938, allocations: 326.8 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.3939, allocations: 4 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.3939, allocations: 21.7 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.394, allocations: 25.72 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.394, allocations: 0 / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.539e-05/0.3941, allocations: 57.55 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3941, allocations: 8 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3941, allocations: 11.91 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3941, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3942, allocations: 4 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3942, allocations: 4 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.3943, allocations: 11.91 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3943, allocations: 4 kB / 1.062 GB, free: 2.113 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 8.174e-05/0.3944, allocations: 109.8 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3944, allocations: 7.906 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.3944, allocations: 19.89 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3945, allocations: 3.984 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3945, allocations: 7.938 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3945, allocations: 7.938 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.3949, allocations: 466.8 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3949, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.3949, allocations: 7.938 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3949, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3949, allocations: 4 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3949, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.395, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.908e-05/0.395, allocations: 85.89 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3951, allocations: 81.02 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3951, allocations: 7.984 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.3952, allocations: 4 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3952, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3952, allocations: 3.938 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.824e-05/0.3953, allocations: 125.8 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3953, allocations: 4.031 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002017/0.3955, allocations: 11.91 kB / 1.063 GB, free: 1.062 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.0001291/0.3956, allocations: 95.25 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.3957, allocations: 16 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3957, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.3958, allocations: 7.938 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.396, allocations: 15.92 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.3963, allocations: 176.9 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3966, allocations: 0.6926 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3967, allocations: 8.422 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.3967, allocations: 11.44 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3967, allocations: 3.938 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.002685/0.3994, allocations: 428.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches