Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001095/0.001094, allocations: 108 kB / 15.6 MB, free: 128 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.001208/0.001208, allocations: 198 kB / 16.53 MB, free: 6.672 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.426/2.426, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5131, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002047/0.5152, allocations: 0.8271 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.5153, allocations: 39.78 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.5154, allocations: 8 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.5155, allocations: 7.875 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.5155, allocations: 7.938 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.03e-05/0.5156, allocations: 23.91 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.5157, allocations: 63.8 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.5159, allocations: 43.94 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.5159, allocations: 23.88 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.516, allocations: 31.84 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.516, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.516, allocations: 8 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.5161, allocations: 11.94 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.5161, allocations: 31.8 kB / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.5162, allocations: 73.95 kB / 1.019 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5162, allocations: 7.938 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5162, allocations: 0 / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.5163, allocations: 0 / 1.019 GB, free: 1.34 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.0004124/0.5167, allocations: 387.1 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5167, allocations: 8.031 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.5168, allocations: 38.75 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.5168, allocations: 8.844 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.517, allocations: 188.2 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.517, allocations: 8.375 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.5171, allocations: 8.375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.5172, allocations: 95.8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5172, allocations: 7.938 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5173, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5173, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.5174, allocations: 31.92 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.5179, allocations: 444.7 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.518, allocations: 45.19 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.518, allocations: 17.78 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.518, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.5181, allocations: 34.56 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5181, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.5182, allocations: 61.47 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5183, allocations: 77.11 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.5184, allocations: 167.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5184, allocations: 25.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.5185, allocations: 108 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.5185, allocations: 7.906 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.5186, allocations: 13.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.5186, allocations: 327.1 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.5187, allocations: 11.94 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.5187, allocations: 17.72 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.5187, allocations: 25.66 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5187, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.124e-05/0.5188, allocations: 65.53 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5189, allocations: 12 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5189, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5189, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.519, allocations: 8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.519, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.519, allocations: 11.89 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.519, allocations: 0 / 1.021 GB, free: 14.84 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.931e-05/0.5191, allocations: 115.4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.5191, allocations: 11.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.5192, allocations: 11.88 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.5195, allocations: 470.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5195, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.5196, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5196, allocations: 4.062 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.5196, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5196, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5196, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.5197, allocations: 81.78 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.5197, allocations: 92.94 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.5198, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.5198, allocations: 4.031 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.5198, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5198, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.5199, allocations: 121.3 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5199, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001821/0.5201, allocations: 8 kB / 1.022 GB, free: 13.8 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.0003391/0.5204, allocations: 0.617 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.5205, allocations: 19.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5205, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.5206, allocations: 11.94 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.5207, allocations: 10.95 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5219, allocations: 1.327 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5221, allocations: 0.6967 MB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.5221, allocations: 4.438 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5222, allocations: 23.42 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5222, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.5381, allocations: 1.557 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/7.243, allocations: 13.31 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches