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.001867/0.001867, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.412/2.412, allocations: 437.1 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5432, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001939/0.5452, allocations: 0.8289 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.5453, allocations: 43.78 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.5453, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.5454, allocations: 11.86 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.5455, allocations: 7.875 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.676e-05/0.5455, allocations: 23.98 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.5456, allocations: 63.78 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.5458, allocations: 39.95 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.5458, allocations: 31.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.5459, allocations: 27.8 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.5459, allocations: 8 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.5459, allocations: 4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.5459, allocations: 19.92 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.546, allocations: 35.75 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.39e-05/0.5461, allocations: 70 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5461, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5461, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5461, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 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.0003669/0.5465, allocations: 383.2 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5465, allocations: 12.03 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.5466, allocations: 42.73 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.5466, allocations: 8.844 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.5468, allocations: 192.2 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.5468, allocations: 4.375 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5468, allocations: 8.375 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5469, allocations: 97.41 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5469, allocations: 11.92 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.547, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.547, allocations: 3.938 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.5471, allocations: 39.92 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.5475, allocations: 424.6 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.5476, allocations: 45.28 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.5476, allocations: 21.83 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.5476, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5477, allocations: 34.56 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5477, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.5478, allocations: 57.48 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.5479, allocations: 77.11 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5481, allocations: 168 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.5481, allocations: 29.64 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.5482, allocations: 108 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.5482, allocations: 3.906 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.5482, allocations: 21.95 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5483, allocations: 326.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.5483, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.5484, allocations: 29.64 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.5484, allocations: 21.72 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5484, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.38e-05/0.5485, allocations: 65.53 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5485, allocations: 11.94 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5485, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5486, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.5486, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5486, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.5487, allocations: 3.906 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5487, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 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.627e-05/0.5488, allocations: 113.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.5488, allocations: 15.91 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.5488, allocations: 15.86 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5488, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5489, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5489, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5492, allocations: 466.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5492, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.5493, allocations: 8.062 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5493, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.5493, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5493, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5493, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.626e-05/0.5494, allocations: 85.83 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.5494, allocations: 88.94 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5495, allocations: 8.031 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.5495, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5495, allocations: 3.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.5495, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.5496, allocations: 122.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5496, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001875/0.5498, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 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.0003432/0.5501, allocations: 0.6193 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.5502, allocations: 15.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5502, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.5503, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.5504, allocations: 9.484 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5515, allocations: 1.33 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.5518, allocations: 0.6924 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.5519, allocations: 8.422 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.5519, allocations: 19.44 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.5519, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.5868, allocations: 1.543 MB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.596, allocations: 5.672 kB / 1.026 GB, free: 9.402 MB / 0.7794 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