Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.001059/0.001059, 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.001046/0.001046, allocations: 192.7 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.298/1.298, 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.437/2.437, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4751, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001813/0.4769, allocations: 0.8305 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.559e-05/0.477, allocations: 39.78 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.4771, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.4771, allocations: 7.875 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.4772, allocations: 11.86 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-05/0.4772, allocations: 19.98 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.4773, allocations: 59.84 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4774, allocations: 43.95 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.4775, allocations: 27.86 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.4775, allocations: 27.8 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4776, allocations: 8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.4776, allocations: 4 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.4776, allocations: 23.92 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.4776, allocations: 35.75 kB / 1.019 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.293e-05/0.4777, allocations: 70 kB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4777, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4777, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4778, allocations: 0 / 1.019 GB, free: 1.324 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.0003433/0.4781, allocations: 383.2 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4781, allocations: 8.031 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.4782, allocations: 46.73 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.4782, allocations: 12.84 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4784, allocations: 192.2 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4784, allocations: 8.359 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4784, allocations: 8.375 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.4785, allocations: 97.56 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4786, allocations: 7.875 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4786, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4786, allocations: 4 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.4787, allocations: 39.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4791, allocations: 436.5 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.4792, allocations: 41.34 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.4792, allocations: 17.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.4792, allocations: 11.98 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4793, allocations: 30.56 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4793, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.4794, allocations: 53.48 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4794, allocations: 85.36 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4796, allocations: 168.1 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4796, allocations: 29.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.4796, allocations: 104 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.4797, allocations: 3.906 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.4797, allocations: 17.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.4798, allocations: 322.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.4798, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.4798, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.4799, allocations: 25.72 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4799, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.795e-05/0.48, allocations: 57.55 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.48, allocations: 7.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.48, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.48, allocations: 64 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.4801, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.4801, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.4801, allocations: 7.906 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-06/0.4801, allocations: 0 / 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 6.009e-05/0.4802, allocations: 117.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.4802, allocations: 11.84 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.4803, allocations: 15.86 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4803, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4803, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4803, allocations: 11.94 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4806, allocations: 462.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4806, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.4806, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4806, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4807, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4807, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4807, allocations: 4.062 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.4807, allocations: 77.83 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.4808, allocations: 88.95 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4808, allocations: 3.984 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.4808, allocations: 11.94 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.4809, allocations: 3.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.4809, allocations: 4.031 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.206e-05/0.4809, allocations: 120.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4809, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001834/0.4811, allocations: 8 kB / 1.022 GB, free: 13.77 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.0002838/0.4814, allocations: 0.6171 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.4815, allocations: 15.94 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4815, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.4815, allocations: 4 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.0001412/0.4817, 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.0009528/0.4826, allocations: 1.327 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.4828, allocations: 0.6924 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.4829, allocations: 16.5 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.4829, allocations: 23.44 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4829, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.4992, allocations: 1.532 MB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.225, allocations: 8.016 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_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_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches