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.008037/0.008037, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001954/0.001954, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 64.12 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3618, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002513/0.3644, allocations: 0.8286 MB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.3646, allocations: 43.78 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.3647, allocations: 0 / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.3647, allocations: 15.86 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3649, allocations: 7.875 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.279e-05/0.3649, allocations: 19.98 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.365, allocations: 67.77 kB / 1.208 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3652, allocations: 51.91 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.3653, allocations: 27.81 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.3654, allocations: 31.84 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3654, allocations: 4 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.3654, allocations: 8 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.3654, allocations: 7.938 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.3655, allocations: 39.73 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3657, allocations: 79.86 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3657, allocations: 4 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3657, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3657, allocations: 4 kB / 1.208 GB, free: 8.898 MB / 0.9669 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.0005226/0.3662, allocations: 379.2 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3663, allocations: 8.625 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.3663, allocations: 38.75 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3664, allocations: 8.844 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3666, allocations: 188.2 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3666, allocations: 8.375 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3666, allocations: 4.375 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3668, allocations: 101.5 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3668, allocations: 3.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3668, allocations: 4 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3669, allocations: 4 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.3669, allocations: 31.92 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.3676, allocations: 448.6 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.3676, allocations: 33.19 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.3677, allocations: 21.84 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.3677, allocations: 0 / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3677, allocations: 34.56 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3677, allocations: 0 / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.3679, allocations: 61.47 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.368, allocations: 77.11 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3681, allocations: 162.8 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3682, allocations: 25.7 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3683, allocations: 103.9 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.3683, allocations: 4 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3683, allocations: 21.88 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3684, allocations: 322.8 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.3685, allocations: 11.94 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.3685, allocations: 17.66 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.3685, allocations: 29.66 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3686, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.781e-05/0.3686, allocations: 65.53 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3687, allocations: 7.938 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3687, allocations: 0 / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3687, allocations: 0 / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.3688, allocations: 12 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3688, allocations: 3.984 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3688, allocations: 7.938 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3688, allocations: 4 kB / 1.211 GB, free: 6.418 MB / 0.9669 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.983e-05/0.3689, allocations: 113.9 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.369, allocations: 11.84 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.369, allocations: 7.875 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.369, allocations: 4 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.369, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.369, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.3694, allocations: 478.7 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3694, allocations: 4.062 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.3695, allocations: 4 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3695, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3695, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3695, allocations: 4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3695, allocations: 3.938 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.802e-05/0.3696, allocations: 77.83 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.3697, allocations: 93.05 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3697, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.3697, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.3697, allocations: 4.078 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3697, allocations: 7.984 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.406e-05/0.3698, allocations: 117.1 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3698, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001899/0.37, allocations: 4 kB / 1.212 GB, free: 5.391 MB / 0.9669 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.0003964/0.3704, allocations: 0.6209 MB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.3705, allocations: 19.98 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3705, allocations: 7.875 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.3706, allocations: 8.156 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3707, allocations: 12 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3721, allocations: 1.327 MB / 1.213 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3724, allocations: 0.6929 MB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.3725, allocations: 12.42 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.3725, allocations: 27.42 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3725, allocations: 0 / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.394, allocations: 1.594 MB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.716, allocations: 8.047 kB / 1.216 GB, free: 1.016 MB / 0.9669 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