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.001379/0.001379, allocations: 108 kB / 15.61 MB, free: 152 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.001573/0.001573, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.406 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.461/2.461, allocations: 437 MB / 0.7104 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.8694 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5142, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001851/0.5161, allocations: 0.8211 MB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.59e-05/0.5162, allocations: 47.78 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.5162, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.5163, allocations: 7.875 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.5164, allocations: 11.86 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.5164, allocations: 19.98 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.5165, allocations: 59.84 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.5166, allocations: 43.97 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.5167, allocations: 27.8 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.5167, allocations: 27.86 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.5168, allocations: 4 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.5168, allocations: 8 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.5168, allocations: 19.91 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.5168, allocations: 39.75 kB / 1.019 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/0.5169, allocations: 66.03 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5169, allocations: 3.984 kB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5169, allocations: 4 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.517, allocations: 0 / 1.019 GB, free: 1.32 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.0003407/0.5173, allocations: 375.2 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5173, allocations: 12.03 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.5174, allocations: 42.67 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.5174, allocations: 12.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.5176, allocations: 196.1 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5176, allocations: 8.375 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.5176, allocations: 4.375 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5178, allocations: 105.5 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5178, allocations: 7.875 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.5178, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5178, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.554e-05/0.5179, allocations: 35.98 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.5183, allocations: 432.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.5184, allocations: 37.16 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.5184, allocations: 25.84 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.5184, allocations: 4.031 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5184, allocations: 38.55 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5185, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.5186, allocations: 57.48 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5186, allocations: 81.05 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5188, allocations: 172 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.5188, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.5188, allocations: 104 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.5189, allocations: 7.906 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.5189, allocations: 13.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.519, allocations: 326.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.519, allocations: 8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.519, allocations: 25.69 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.5191, allocations: 29.66 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5191, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.429e-05/0.5192, allocations: 53.61 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5192, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5192, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.5193, allocations: 12 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.5193, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.5193, allocations: 3.906 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.5193, allocations: 4 kB / 1.021 GB, free: 14.82 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 5.862e-05/0.5194, allocations: 113.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5194, allocations: 11.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.5195, allocations: 11.86 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5195, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5195, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5195, allocations: 7.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.5198, allocations: 470.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5198, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.5198, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5198, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.5199, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.5199, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5199, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.162e-05/0.5199, allocations: 85.83 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.52, allocations: 92.95 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.52, allocations: 3.984 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.52, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.52, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5201, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.524e-05/0.5201, allocations: 126.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5201, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001883/0.5203, allocations: 4 kB / 1.022 GB, free: 13.78 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.0002953/0.5206, allocations: 0.6248 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.5207, allocations: 16 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5207, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.5207, allocations: 7.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.5209, allocations: 8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.5218, allocations: 1.329 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.522, allocations: 0.6885 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.5221, allocations: 12.42 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5221, allocations: 27.38 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5221, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.5367, allocations: 1.536 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.224, allocations: 11.12 kB / 1.026 GB, free: 9.445 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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