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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0013/0.0013, 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.001323/0.001323, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5303, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001838/0.5322, allocations: 0.8842 MB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.84e-05/0.5323, allocations: 45.22 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5324, allocations: 1.375 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.5324, allocations: 5.312 kB / 0.9502 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.5325, allocations: 0 / 0.9502 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-05/0.5326, allocations: 24.05 kB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.5327, allocations: 60.59 kB / 0.9502 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.5328, allocations: 39.66 kB / 0.9503 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.5329, allocations: 28.88 kB / 0.9503 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.5329, allocations: 36.23 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.5329, allocations: 5.844 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.5329, allocations: 6.531 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.533, allocations: 18.77 kB / 0.9504 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.533, allocations: 29.69 kB / 0.9504 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.701e-05/0.5331, allocations: 75.38 kB / 0.9505 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5331, allocations: 1.188 kB / 0.9505 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5331, allocations: 0 / 0.9505 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5331, allocations: 0 / 0.9505 GB, free: 8.188 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.0003356/0.5335, allocations: 383.4 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5335, allocations: 13.66 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.5336, allocations: 41.55 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.5336, allocations: 9.031 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.5337, allocations: 190.1 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5338, allocations: 4.031 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.5338, allocations: 9.469 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5339, allocations: 95.69 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5339, allocations: 3.938 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.534, allocations: 5.312 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.534, allocations: 1.188 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.5341, allocations: 40.45 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.5344, allocations: 432.2 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.5345, allocations: 45.69 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.5345, allocations: 16 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.5346, allocations: 3.984 kB / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.5346, allocations: 35.91 kB / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5346, allocations: 0 / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/0.5347, allocations: 62.62 kB / 0.9518 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.5348, allocations: 81.98 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.5349, allocations: 163.6 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.5349, allocations: 27.02 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.5349, allocations: 108.5 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.5349, allocations: 11.83 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.535, allocations: 17.75 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.535, allocations: 325.2 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.535, allocations: 3.812 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.5351, allocations: 22.73 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.5351, allocations: 22.75 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5351, allocations: 0 / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.146e-05/0.5352, allocations: 58.86 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5352, allocations: 13 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5352, allocations: 5.516 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5352, allocations: 0 / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.5353, allocations: 5.094 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5353, allocations: 2.031 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.5353, allocations: 2 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.5353, allocations: 1.875 kB / 0.9526 GB, free: 5.973 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.59e-05/0.5354, allocations: 112.5 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.5354, allocations: 15.72 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.5355, allocations: 22.52 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5355, allocations: 1.156 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5355, allocations: 1.031 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5355, allocations: 0 / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.5357, allocations: 470.5 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5357, allocations: 1.406 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.5358, allocations: 2.938 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5358, allocations: 4.062 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.5358, allocations: 1.344 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5358, allocations: 1.281 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5358, allocations: 0 / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.664e-05/0.5359, allocations: 82.45 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.5359, allocations: 87.89 kB / 0.9534 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.5359, allocations: 9.266 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.5359, allocations: 9.281 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.5359, allocations: 9.344 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.536, allocations: 0 / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.536, allocations: 121.8 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.536, allocations: 0 / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001917/0.5362, allocations: 6.062 kB / 0.9535 GB, free: 5.012 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.0002009/0.5364, allocations: 0.6171 MB / 0.9541 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.5365, allocations: 19.81 kB / 0.9542 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5365, allocations: 0 / 0.9542 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.5365, allocations: 4.281 kB / 0.9542 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.5367, allocations: 6.594 kB / 0.9542 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.5375, allocations: 1.349 MB / 0.9555 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.521e-05/0.5376, allocations: 0.699 MB / 0.9562 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.5376, allocations: 8.141 kB / 0.9562 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.5377, allocations: 19.34 kB / 0.9562 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5377, allocations: 0 / 0.9562 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009864/0.5476, allocations: 1.469 MB / 0.9576 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.5477, allocations: 208.4 kB / 0.9578 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.248, allocations: 2.875 kB / 0.9578 GB, free: 1.395 MB / 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