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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_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.001598/0.001598, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001827/0.001827, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.075/2.075, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.207/4.207, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 66.67 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4107, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003468/0.4142, allocations: 0.8865 MB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.4144, allocations: 39.84 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.4145, allocations: 0 / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.4146, allocations: 7.922 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.4148, allocations: 7.938 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.573e-05/0.4149, allocations: 19.98 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.415, allocations: 59.8 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.4152, allocations: 51.94 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.4153, allocations: 23.88 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.4154, allocations: 27.84 kB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.4155, allocations: 8 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.4155, allocations: 4 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.4155, allocations: 15.94 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.4156, allocations: 43.67 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.4158, allocations: 67.98 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4158, allocations: 4 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4158, allocations: 0 / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.4158, allocations: 0 / 1.054 GB, free: 7.387 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.0005927/0.4164, allocations: 379.3 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.4165, allocations: 8.625 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.4166, allocations: 38.75 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.4166, allocations: 8.844 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.4169, allocations: 196.1 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.417, allocations: 16.22 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.417, allocations: 12.31 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.4172, allocations: 87.95 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4173, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.4173, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4173, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.4174, allocations: 39.92 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.4183, allocations: 444.6 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.4184, allocations: 45.23 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.4185, allocations: 13.78 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4185, allocations: 12 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4185, allocations: 30.56 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.4185, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002571/0.4188, allocations: 57.47 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4189, allocations: 77.11 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4191, allocations: 164.2 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4191, allocations: 29.95 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.4192, allocations: 104 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.4193, allocations: 3.906 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.4193, allocations: 17.72 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4195, allocations: 318.8 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.4195, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.4196, allocations: 21.66 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.4197, allocations: 29.72 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4197, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001496/0.4198, allocations: 61.53 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4199, allocations: 9.344 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4199, allocations: 4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4199, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.42, allocations: 4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4201, allocations: 3.984 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.4201, allocations: 15.91 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4201, allocations: 0 / 1.056 GB, free: 4.898 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 0.0001049/0.4203, allocations: 113.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.4204, allocations: 15.78 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.4204, allocations: 11.88 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4204, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4204, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4204, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.421, allocations: 478.8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4211, allocations: 3.938 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.4211, allocations: 4 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4211, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4211, allocations: 8 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.4212, allocations: 7.922 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4212, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.4213, allocations: 81.89 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.4214, allocations: 85.02 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4214, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.4215, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.4215, allocations: 4 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4215, allocations: 3.984 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001373/0.4217, allocations: 118.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4217, allocations: 4.031 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003706/0.4221, allocations: 8 kB / 1.057 GB, free: 3.855 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.0004843/0.4225, allocations: 0.6131 MB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.4227, allocations: 27.95 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4227, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.4227, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.423, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4248, allocations: 1.342 MB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4251, allocations: 0.6924 MB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.648e-05/0.4252, allocations: 8.438 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.4252, allocations: 27.42 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.4252, allocations: 0 / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.371/1.796, allocations: 1.467 MB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/1.797, allocations: 206.5 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/5.049, allocations: 4.688 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > 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/jenkins1/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