Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.001259/0.001259, 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.001238/0.001238, allocations: 195.5 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.443/2.443, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5109, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001896/0.5128, allocations: 0.8755 MB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.5129, allocations: 55.77 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.513, allocations: 4 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.513, allocations: 15.8 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.5131, allocations: 7.875 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.635e-05/0.5132, allocations: 23.97 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.5133, allocations: 83.78 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.5134, allocations: 49.09 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.5135, allocations: 31.8 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.5135, allocations: 39.78 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.5135, allocations: 8 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.5136, allocations: 8 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.5136, allocations: 19.91 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.5136, allocations: 39.75 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.5137, allocations: 101.9 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5137, allocations: 3.938 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5137, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5138, allocations: 0 / 1.019 GB, free: 1.07 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003634/0.5141, allocations: 403.2 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5142, allocations: 12.03 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.5142, allocations: 38.73 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.5142, allocations: 16.84 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.5144, allocations: 208.2 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.5144, allocations: 4.562 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.5145, allocations: 8.375 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.5146, allocations: 112.4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5146, allocations: 0 / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5147, allocations: 8 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5147, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.5147, allocations: 39.98 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.5153, allocations: 468.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.5153, allocations: 37.38 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.5154, allocations: 29.83 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.5154, allocations: 7.875 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.5154, allocations: 30.56 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5154, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.5156, allocations: 61.45 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.5156, allocations: 77.11 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5158, allocations: 182.9 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.5158, allocations: 29.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.5159, allocations: 115.9 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.5159, allocations: 3.906 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.5159, allocations: 17.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.516, allocations: 322.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.516, allocations: 7.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.5161, allocations: 17.72 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.5161, allocations: 29.66 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5161, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.082e-05/0.5162, allocations: 61.59 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5162, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5162, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5162, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.5163, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.5163, allocations: 4.062 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.5164, allocations: 15.78 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.5164, allocations: 0 / 1.021 GB, free: 14.46 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.661e-05/0.5164, allocations: 115.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.5165, allocations: 19.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.5165, allocations: 8.562 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5165, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5165, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5165, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.5169, allocations: 478.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5169, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.5169, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5169, allocations: 3.938 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.5169, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5169, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5169, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.552e-05/0.517, allocations: 97.83 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.5171, allocations: 92.91 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5171, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.5171, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.5171, allocations: 96 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.5171, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.5172, allocations: 148.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5172, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001891/0.5174, allocations: 8 kB / 1.022 GB, free: 13.38 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.0002859/0.5177, allocations: 0.6209 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.5178, allocations: 16.03 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5178, allocations: 3.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.5178, allocations: 7.938 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.518, allocations: 10.03 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5191, allocations: 1.399 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5193, allocations: 0.7002 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.5193, allocations: 8.547 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.5194, allocations: 31.42 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5194, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.5347, allocations: 1.689 MB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.606, allocations: 18.19 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_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_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches