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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001294/0.001294, 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.001407/0.001407, allocations: 194 kB / 16.14 MB, free: 6.648 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.5189, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001784/0.5207, allocations: 0.882 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.153e-05/0.5208, allocations: 47.78 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.5209, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.5209, allocations: 7.922 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.521, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.44e-05/0.521, allocations: 16 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.5211, allocations: 67.73 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.5212, allocations: 39.97 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.5213, allocations: 27.8 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.5213, allocations: 23.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.5213, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.5213, allocations: 4 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.5214, allocations: 11.92 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.5214, allocations: 31.8 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.853e-05/0.5215, allocations: 73.95 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.5215, allocations: 4 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.01e-07/0.5215, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.5215, allocations: 4 kB / 1.018 GB, free: 1.555 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.0003304/0.5218, allocations: 371.3 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5219, allocations: 16.02 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.5219, allocations: 42.69 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.522, allocations: 12.84 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5221, allocations: 192.1 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.5221, allocations: 8.375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.5221, allocations: 8.375 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5223, allocations: 97.67 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.5223, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5223, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-06/0.5223, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.5224, allocations: 31.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.5228, allocations: 448.5 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.5229, allocations: 37.14 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.5229, allocations: 21.84 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.5229, allocations: 4 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.5229, allocations: 34.59 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5229, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.5231, allocations: 57.48 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.5231, allocations: 81.09 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5233, allocations: 159.5 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.5233, allocations: 29.94 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.5233, allocations: 108 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.5234, allocations: 7.891 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5234, allocations: 13.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.5235, allocations: 318.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.5235, allocations: 11.98 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.5235, allocations: 13.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.5236, allocations: 33.66 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5236, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.397e-05/0.5236, allocations: 57.59 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5237, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.5237, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.5237, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.5237, allocations: 8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5238, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.5238, allocations: 7.906 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.5238, allocations: 8.062 kB / 1.02 GB, free: 15.06 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 6.439e-05/0.5239, allocations: 114.4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.5239, allocations: 15.83 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.5239, allocations: 3.969 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5239, allocations: 7.984 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5239, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.524, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.5243, allocations: 474.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5243, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.5243, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5243, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.5243, allocations: 3.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5243, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5243, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.353e-05/0.5244, allocations: 81.84 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.5245, allocations: 92.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.5245, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.5245, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/0.5245, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5245, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.5246, allocations: 121.1 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5246, allocations: 32 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001782/0.5248, allocations: 16 kB / 1.021 GB, free: 14.02 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.0002855/0.5251, allocations: 0.6131 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.192e-05/0.5252, allocations: 20.03 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5252, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.5252, allocations: 11.98 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5253, allocations: 6.672 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.5263, allocations: 1.345 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5265, allocations: 0.6926 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.5266, allocations: 8.422 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.5266, allocations: 31.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5266, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009344/0.536, allocations: 1.422 MB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.5361, allocations: 209.5 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.027, allocations: 3.938 kB / 1.025 GB, free: 9.551 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