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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001277/0.001277, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 70.64 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2305, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0019/0.2325, allocations: 0.9016 MB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.2326, allocations: 39.78 kB / 1.053 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2326, allocations: 4 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.2327, allocations: 7.922 kB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.2328, allocations: 3.938 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.426e-05/0.2328, allocations: 15.98 kB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.2329, allocations: 59.86 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.233, allocations: 39.97 kB / 1.053 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.2331, allocations: 27.8 kB / 1.053 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.2331, allocations: 35.84 kB / 1.053 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2332, allocations: 4 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.2332, allocations: 4 kB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2332, allocations: 7.938 kB / 1.053 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2332, allocations: 43.72 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.464e-05/0.2333, allocations: 60 kB / 1.053 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2333, allocations: 0 / 1.053 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2333, allocations: 0 / 1.053 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2334, allocations: 3.938 kB / 1.053 GB, free: 7.016 MB / 0.8106 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.0003615/0.2337, allocations: 379.3 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2338, allocations: 11.97 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.2338, allocations: 42.75 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.2338, allocations: 8.844 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.234, allocations: 200.1 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.234, allocations: 8.281 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.234, allocations: 8.375 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.2342, allocations: 93.3 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2342, allocations: 7.938 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2342, allocations: 7.938 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2342, allocations: 3.984 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.2343, allocations: 35.98 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.2348, allocations: 432.5 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.2348, allocations: 45.28 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.2349, allocations: 17.84 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.2349, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2349, allocations: 38.5 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.2349, allocations: 4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.2351, allocations: 53.53 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2351, allocations: 85.05 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2352, allocations: 168.8 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2352, allocations: 25.7 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.2353, allocations: 96.05 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.2353, allocations: 7.891 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2354, allocations: 17.97 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2355, allocations: 326.8 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.2355, allocations: 0 / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.2355, allocations: 21.72 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.2355, allocations: 21.72 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2355, allocations: 0 / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.285e-05/0.2356, allocations: 65.53 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2357, allocations: 11.94 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.2357, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2357, allocations: 4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.2358, allocations: 7.844 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2358, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 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 6.29e-05/0.2359, allocations: 121.8 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2359, allocations: 19.84 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.2359, allocations: 11.88 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2359, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2359, allocations: 7.938 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.236, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.2363, allocations: 470.8 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2363, allocations: 0 / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.2363, allocations: 8.047 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2363, allocations: 4 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2363, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2363, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2363, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.125e-05/0.2364, allocations: 81.78 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2365, allocations: 89 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2365, allocations: 8.031 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.2365, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.2365, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2365, allocations: 4 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.2366, allocations: 122.1 kB / 1.056 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2366, allocations: 0 / 1.056 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001864/0.2368, allocations: 8 kB / 1.056 GB, free: 3.484 MB / 0.8106 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.0003053/0.2371, allocations: 0.6171 MB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.2372, allocations: 19.92 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2372, allocations: 0 / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.2372, allocations: 4 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.2374, allocations: 8.281 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2384, allocations: 1.342 MB / 1.058 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2386, allocations: 0.6926 MB / 1.059 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2386, allocations: 12.42 kB / 1.059 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.2387, allocations: 19.42 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2387, allocations: 4 kB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009805/0.2485, allocations: 1.424 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2487, allocations: 221.1 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.695, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 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