Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_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.005378/0.005378, allocations: 111.7 kB / 15.74 MB, free: 6.457 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.001162/0.001162, allocations: 198 kB / 16.67 MB, free: 6.352 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3447, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002219/0.347, allocations: 0.8217 MB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.3471, allocations: 47.78 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.3472, allocations: 0 / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.3472, allocations: 11.88 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3474, allocations: 15.86 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.644e-05/0.3474, allocations: 19.92 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3475, allocations: 59.91 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3477, allocations: 43.97 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.3478, allocations: 31.8 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.3479, allocations: 35.78 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3479, allocations: 4 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.3479, allocations: 8 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3479, allocations: 11.94 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.348, allocations: 31.8 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3481, allocations: 78.52 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3481, allocations: 0 / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3481, allocations: 7.938 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3481, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 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.0005166/0.3487, allocations: 384 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3487, allocations: 8.031 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3488, allocations: 38.75 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3488, allocations: 8.844 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.349, allocations: 188.2 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.349, allocations: 8.375 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.349, allocations: 12.31 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3492, allocations: 101.6 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3492, allocations: 3.938 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3492, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3493, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.3493, allocations: 39.92 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.3499, allocations: 440.6 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.35, allocations: 37.25 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.35, allocations: 17.78 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.35, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3501, allocations: 38.56 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3501, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.3503, allocations: 57.47 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3503, allocations: 81.11 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3505, allocations: 157.5 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3505, allocations: 29.64 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.3505, allocations: 104 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.3506, allocations: 8.156 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3506, allocations: 21.72 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3507, allocations: 314.8 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.3508, allocations: 8 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.3508, allocations: 17.72 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.3508, allocations: 25.66 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3508, allocations: 4 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.139e-05/0.3509, allocations: 65.53 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.351, allocations: 7.938 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.351, allocations: 0 / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.351, allocations: 0 / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.3511, allocations: 8 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3511, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.3511, allocations: 11.84 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3511, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 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.837e-05/0.3512, allocations: 121.9 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3512, allocations: 11.84 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3513, allocations: 7.875 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3513, allocations: 3.938 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3513, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3513, allocations: 4.078 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.3517, allocations: 470.8 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3517, allocations: 4.062 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.3517, allocations: 7.984 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3517, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3517, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3517, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3517, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.3518, allocations: 85.78 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3519, allocations: 89 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3519, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.3519, allocations: 4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.3519, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.352, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.352, allocations: 121.9 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/0.352, allocations: 0 / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001923/0.3522, allocations: 15.91 kB / 1.17 GB, free: 2.555 MB / 0.92 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.000361/0.3526, allocations: 0.6132 MB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.3527, allocations: 23.92 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3527, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.3527, allocations: 16.09 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3529, allocations: 8 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3541, allocations: 1.324 MB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3543, allocations: 0.6968 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3544, allocations: 8.422 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.3544, allocations: 23.44 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.3544, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.3756, allocations: 1.573 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.913, allocations: 12.28 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches