Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 187.5 kB / 16.25 MB, free: 6.633 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.392/2.392, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5546, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001882/0.5566, allocations: 0.8937 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.866e-05/0.5567, allocations: 35.84 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.5567, allocations: 7.938 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.5568, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.5568, allocations: 7.922 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.035e-05/0.5569, allocations: 16 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.557, allocations: 67.78 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.5571, allocations: 35.97 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.5571, allocations: 31.84 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.5572, allocations: 27.86 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.5572, allocations: 8 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.5572, allocations: 4 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.5573, allocations: 19.92 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.5573, allocations: 35.75 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.5574, allocations: 73.94 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5574, allocations: 0 / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5574, allocations: 0 / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5574, allocations: 0 / 1.018 GB, free: 1.434 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.0003678/0.5578, allocations: 383.2 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5578, allocations: 12.03 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.5579, allocations: 46.73 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.5579, allocations: 8.844 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.5581, allocations: 188.2 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.5581, allocations: 384 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.5581, allocations: 20.3 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.5583, allocations: 95.84 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5583, allocations: 3.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.5583, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5583, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.5584, allocations: 43.86 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.5588, allocations: 424.7 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.5589, allocations: 49.3 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.5589, allocations: 17.77 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.559, allocations: 8 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.559, allocations: 30.56 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.559, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.5591, allocations: 57.48 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.5592, allocations: 81.11 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.5593, allocations: 163 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.5593, allocations: 29.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.5594, allocations: 104 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.5594, allocations: 7.891 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5594, allocations: 17.72 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.5595, allocations: 323.1 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.5596, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.5596, allocations: 21.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.5596, allocations: 33.66 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5596, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.035e-05/0.5597, allocations: 53.55 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5597, allocations: 15.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5597, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5598, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.5598, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5598, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.5599, allocations: 7.906 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.5599, allocations: 0 / 1.02 GB, free: 14.93 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.437e-05/0.5599, allocations: 114.4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.56, allocations: 11.84 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.56, allocations: 19.86 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.56, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.56, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.56, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.5604, allocations: 470.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5604, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.5604, allocations: 3.828 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5604, allocations: 4.062 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.5604, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.5604, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5604, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.893e-05/0.5605, allocations: 77.83 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.5606, allocations: 92.94 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.5606, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.5606, allocations: 4.031 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.5606, allocations: 7.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.5606, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.5607, allocations: 122.5 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5607, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001787/0.5609, allocations: 8 kB / 1.021 GB, free: 13.89 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.0003287/0.5612, allocations: 0.6209 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.611e-05/0.5613, allocations: 15.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5613, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.5613, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.5615, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.5625, allocations: 1.35 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.5627, allocations: 0.6963 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.5628, allocations: 8.422 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.5628, allocations: 23.44 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5628, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009882/0.5727, allocations: 1.467 MB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.5729, allocations: 216.5 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.165, allocations: 0 / 1.026 GB, free: 9.402 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches