Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_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.0008604/0.0008601, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005329/0.00533, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5819/0.5822, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0007569/0.583, allocations: 0.5415 MB / 0.9557 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.082e-05/0.5831, allocations: 33.89 kB / 0.9557 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.5832, allocations: 1.438 kB / 0.9557 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.5832, allocations: 7.875 kB / 0.9557 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.5833, allocations: 13.33 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.469e-05/0.5833, allocations: 15.27 kB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.5834, allocations: 59.28 kB / 0.9558 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.5835, allocations: 38.69 kB / 0.9559 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.5836, allocations: 14.28 kB / 0.9559 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.5836, allocations: 23.98 kB / 0.9559 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.5836, allocations: 1.406 kB / 0.9559 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-06/0.5836, allocations: 5.438 kB / 0.9559 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.5837, allocations: 14.7 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.5837, allocations: 51.11 kB / 0.956 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.613e-05/0.5838, allocations: 70.28 kB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5838, allocations: 1.281 kB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5838, allocations: 0 / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.5838, allocations: 0 / 0.956 GB, free: 7.066 MB / 0.7169 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.0002523/0.584, allocations: 365.6 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.5841, allocations: 9.094 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.5841, allocations: 42.09 kB / 0.9564 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.5842, allocations: 12.75 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.5843, allocations: 191.2 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.5843, allocations: 6.656 kB / 0.9566 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.5843, allocations: 9.781 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5845, allocations: 89.58 kB / 0.9567 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5845, allocations: 3.938 kB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5845, allocations: 9.438 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5845, allocations: 5.312 kB / 0.9567 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.5846, allocations: 39.92 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.5849, allocations: 437.9 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.585, allocations: 41.75 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.585, allocations: 19.28 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.585, allocations: 1.125 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.5851, allocations: 31.56 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.5851, allocations: 0 / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.5852, allocations: 63.09 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.5852, allocations: 82.2 kB / 0.9574 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5853, allocations: 163.9 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.5854, allocations: 25.7 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.5854, allocations: 112.6 kB / 0.9577 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.5854, allocations: 5.094 kB / 0.9577 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.5854, allocations: 10.78 kB / 0.9577 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.5855, allocations: 321 kB / 0.958 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.5855, allocations: 11.34 kB / 0.9581 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.5855, allocations: 15.22 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.5856, allocations: 30.25 kB / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5856, allocations: 0 / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.664e-05/0.5856, allocations: 58.72 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5856, allocations: 11 kB / 0.9582 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5857, allocations: 5.094 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.5857, allocations: 0 / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.5857, allocations: 6.375 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.5857, allocations: 0 / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.5858, allocations: 7.875 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.5858, allocations: 0 / 0.9582 GB, free: 4.863 MB / 0.7169 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 4.259e-05/0.5858, allocations: 118.2 kB / 0.9583 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.5859, allocations: 11.44 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.5859, allocations: 11.09 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5859, allocations: 4 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5859, allocations: 1.25 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.5859, allocations: 0 / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.5861, allocations: 470.4 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5862, allocations: 1.125 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.5862, allocations: 11.69 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5862, allocations: 0 / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.5862, allocations: 5.031 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5862, allocations: 1.094 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5862, allocations: 3.938 kB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.498e-05/0.5863, allocations: 74.88 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.5863, allocations: 96.12 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.5863, allocations: 1.031 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.5863, allocations: 1.188 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.5864, allocations: 5.156 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5864, allocations: 1.062 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.5864, allocations: 123.1 kB / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5864, allocations: 1.219 kB / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001781/0.5866, allocations: 6.812 kB / 0.9591 GB, free: 3.914 MB / 0.7169 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.0002045/0.5868, allocations: 0.623 MB / 0.9597 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.5869, allocations: 14.41 kB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5869, allocations: 3.938 kB / 0.9597 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.5869, allocations: 8.641 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.5871, allocations: 6.5 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.5879, allocations: 1.352 MB / 0.961 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.135e-05/0.588, allocations: 0.694 MB / 0.9617 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.588, allocations: 9.047 kB / 0.9617 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.588, allocations: 27.14 kB / 0.9618 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5881, allocations: 0 / 0.9618 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.6015, allocations: 1.345 MB / 0.9631 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.6017, allocations: 215.7 kB / 0.9633 GB, free: 396 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.171, allocations: 0 / 0.9633 GB, free: 396 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches