Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.001312/0.001312, 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.001363/0.001363, 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.416/2.416, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5026, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002022/0.5047, allocations: 0.8211 MB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.5048, allocations: 39.84 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.5048, allocations: 3.938 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.5049, allocations: 7.922 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.505, allocations: 11.88 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-05/0.505, allocations: 15.98 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.5051, allocations: 75.72 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.5053, allocations: 39.95 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.5053, allocations: 27.86 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.5054, allocations: 23.86 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.5054, allocations: 8 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.5054, allocations: 8 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.5054, allocations: 15.92 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.5055, allocations: 39.73 kB / 1.019 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.06e-05/0.5056, allocations: 66.02 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5056, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5056, allocations: 4 kB / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5056, allocations: 0 / 1.019 GB, free: 1.316 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.0003723/0.506, allocations: 379.1 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.506, allocations: 16.03 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.5061, allocations: 38.69 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.5061, allocations: 16.84 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.5063, allocations: 192.2 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.5063, allocations: 4.375 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.5063, allocations: 8.375 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5065, allocations: 97.67 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5065, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.5065, allocations: 7.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5065, allocations: 4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.5066, allocations: 35.98 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.5071, allocations: 436.6 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.5071, allocations: 41.27 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.5072, allocations: 21.75 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.5072, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5072, allocations: 38.56 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.5072, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.5074, allocations: 61.72 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.5074, allocations: 81.11 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5075, allocations: 164.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5076, allocations: 29.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.5076, allocations: 99.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.5076, allocations: 7.891 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.5077, allocations: 17.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.5078, allocations: 322.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.5078, allocations: 11.98 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.5078, allocations: 21.66 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.5078, allocations: 25.66 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5079, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.146e-05/0.5079, allocations: 61.59 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.508, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.508, allocations: 4.062 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.508, allocations: 3.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.508, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5081, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.5081, allocations: 3.906 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.5081, allocations: 4 kB / 1.021 GB, free: 14.81 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.703e-05/0.5082, allocations: 115.4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5082, allocations: 15.83 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.5082, allocations: 7.875 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5083, allocations: 8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5083, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5083, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.5086, allocations: 470.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5086, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.5086, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5087, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5087, allocations: 8.047 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5087, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5087, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.446e-05/0.5088, allocations: 81.78 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.5088, allocations: 92.94 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.5088, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.5089, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.5089, allocations: 4.125 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5089, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.509, allocations: 124.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.509, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001828/0.5092, 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.0003118/0.5095, allocations: 0.6248 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.5095, allocations: 16 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5096, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.5096, allocations: 11.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5097, allocations: 9.547 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5108, allocations: 1.327 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.511, allocations: 0.6962 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.511, allocations: 8.422 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.511, allocations: 23.42 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5111, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.526, allocations: 1.543 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/7.173, allocations: 7 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches