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.008389/0.008389, allocations: 101.7 kB / 15.73 MB, free: 6.016 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.001549/0.001549, allocations: 186.7 kB / 16.67 MB, free: 5.949 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002101/0.3433, allocations: 0.819 MB / 1.208 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.3435, allocations: 43.78 kB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3436, allocations: 0 / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.3436, allocations: 11.86 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.3438, allocations: 7.875 kB / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.3438, allocations: 19.98 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3439, allocations: 63.83 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3441, allocations: 55.84 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.3442, allocations: 19.88 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.3442, allocations: 35.84 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3443, allocations: 8 kB / 1.208 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.3443, allocations: 8 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3443, allocations: 7.938 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3443, allocations: 39.73 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3445, allocations: 79.86 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3445, allocations: 4 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3445, allocations: 0 / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3445, allocations: 0 / 1.208 GB, free: 8.922 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.0004111/0.3449, allocations: 375.2 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.345, allocations: 16.62 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.345, allocations: 34.75 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.345, allocations: 12.84 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3452, allocations: 192.1 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3453, allocations: 8.375 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3453, allocations: 4.375 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3454, allocations: 92.89 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3454, allocations: 3.938 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3455, allocations: 8 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3455, allocations: 0 / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.3456, allocations: 35.92 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.3461, allocations: 436.5 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.3461, allocations: 45.28 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.3462, allocations: 25.84 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.3462, allocations: 0 / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3462, allocations: 30.56 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3462, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.3464, allocations: 61.47 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3465, allocations: 85.3 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3466, allocations: 162.8 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.3466, allocations: 25.7 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3467, allocations: 103.9 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.3467, allocations: 4 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3467, allocations: 17.62 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3469, allocations: 322.8 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.3469, allocations: 11.94 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.3469, allocations: 25.64 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.3469, allocations: 25.72 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.347, allocations: 0 / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.232e-05/0.347, allocations: 61.53 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3471, allocations: 7.938 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3471, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3471, allocations: 4.062 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.3472, allocations: 8 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3472, allocations: 3.984 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.3472, allocations: 3.938 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3472, allocations: 4 kB / 1.211 GB, free: 6.438 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 7.385e-05/0.3473, allocations: 113.8 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3473, allocations: 11.84 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.3474, allocations: 7.875 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3474, allocations: 8 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3474, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3474, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3477, allocations: 478.7 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3478, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.3478, allocations: 7.938 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3478, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.3478, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3478, allocations: 4.062 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3478, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.4e-05/0.3479, allocations: 77.83 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.348, allocations: 89.02 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.348, allocations: 0 / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.348, allocations: 0 / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.348, allocations: 4.031 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.348, allocations: 4 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.754e-05/0.3481, allocations: 121.1 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3481, allocations: 3.938 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001867/0.3483, allocations: 4 kB / 1.212 GB, free: 5.406 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.0003529/0.3487, allocations: 0.6209 MB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.3488, allocations: 23.92 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3488, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.3488, allocations: 7.938 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.349, allocations: 9.719 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3501, allocations: 1.335 MB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3504, allocations: 0.6929 MB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.3504, allocations: 8.422 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.3505, allocations: 27.42 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3505, allocations: 4 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.367, allocations: 1.591 MB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.809, allocations: 3.984 kB / 1.216 GB, free: 1.039 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