Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007717/0.007717, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.00205/0.002051, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.953/2.953, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6908, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002047/0.6928, allocations: 0.8271 MB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.693, allocations: 47.78 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.693, allocations: 0 / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.6931, allocations: 11.86 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.6932, allocations: 7.875 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.84e-05/0.6933, allocations: 19.98 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.6934, allocations: 63.83 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.6935, allocations: 43.97 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.6936, allocations: 31.8 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.6937, allocations: 27.86 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.6937, allocations: 4 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.6937, allocations: 8 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.6937, allocations: 15.92 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.6938, allocations: 31.81 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.6939, allocations: 75.36 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6939, allocations: 7.875 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6939, allocations: 3.984 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6939, allocations: 0 / 1.167 GB, free: 2.551 MB / 0.8887 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.0004578/0.6944, allocations: 379.1 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6944, allocations: 8.922 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.6945, allocations: 46.73 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.6945, allocations: 12.84 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.6948, allocations: 188.2 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.6948, allocations: 12.36 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.6948, allocations: 8.375 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.695, allocations: 101 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.695, allocations: 3.938 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.695, allocations: 7.922 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.695, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.6951, allocations: 39.92 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.6957, allocations: 436.7 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.6958, allocations: 45.31 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.6958, allocations: 13.72 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.6958, allocations: 4 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.6959, allocations: 38.55 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6959, allocations: 4 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.6961, allocations: 53.53 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.6961, allocations: 77.11 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.6963, allocations: 160.9 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6963, allocations: 25.95 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.6964, allocations: 104.1 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.6964, allocations: 7.953 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6965, allocations: 13.72 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6966, allocations: 322.8 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.6966, allocations: 4 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.6967, allocations: 21.7 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.6967, allocations: 29.66 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6967, allocations: 3.938 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.6968, allocations: 65.55 kB / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6969, allocations: 7.938 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6969, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6969, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.6969, allocations: 11.98 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.697, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.697, allocations: 12 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.697, allocations: 0 / 1.17 GB, free: 60 kB / 0.8887 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 0.0001018/0.6971, allocations: 113.8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.6972, allocations: 11.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.6972, allocations: 15.86 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.6977, allocations: 474.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6977, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.6977, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6977, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.6977, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6978, allocations: 7.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6978, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.373e-05/0.6979, allocations: 89.88 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.6979, allocations: 85.06 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.698, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.698, allocations: 3.984 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.698, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.698, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001/0.6981, allocations: 121.9 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6981, allocations: 4.031 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001939/0.6983, allocations: 4 kB / 1.17 GB, free: 15.01 MB / 0.9044 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.00044/0.6988, allocations: 0.6171 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.6989, allocations: 20.03 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6989, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.6989, allocations: 7.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.6991, allocations: 8 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.7004, allocations: 1.345 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7008, allocations: 0.6963 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.7008, allocations: 4.438 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.7008, allocations: 23.42 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7009, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7231, allocations: 1.579 MB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.904, allocations: 10.36 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches