Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_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.005341/0.005342, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6639, allocations: 159.1 MB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001865/0.6658, allocations: 0.8156 MB / 1.221 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.6659, allocations: 39.84 kB / 1.221 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.6659, allocations: 4 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.666, allocations: 11.86 kB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.6661, allocations: 7.875 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.6661, allocations: 19.98 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.6663, allocations: 63.83 kB / 1.221 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.6664, allocations: 55.84 kB / 1.221 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.6665, allocations: 27.8 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.6665, allocations: 23.86 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.6665, allocations: 4 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.6666, allocations: 8 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.6666, allocations: 15.92 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.6666, allocations: 35.81 kB / 1.221 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.6668, allocations: 83.23 kB / 1.221 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6668, allocations: 3.984 kB / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6668, allocations: 0 / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6668, allocations: 0 / 1.221 GB, free: 0.8672 MB / 0.9356 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.000462/0.6673, allocations: 375.2 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6673, allocations: 8.031 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.6674, allocations: 42.73 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.6674, allocations: 12.84 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.6677, allocations: 196.2 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6677, allocations: 12.31 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6677, allocations: 4.375 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.6679, allocations: 99.86 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6679, allocations: 7.922 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.6679, allocations: 0 / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.6679, allocations: 4 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.668, allocations: 39.92 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.6686, allocations: 436.7 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.6687, allocations: 49.19 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.6687, allocations: 17.78 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.6687, allocations: 4 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6688, allocations: 38.55 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6688, allocations: 0 / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.6689, allocations: 53.53 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.669, allocations: 77.11 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.6692, allocations: 160.3 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.6692, allocations: 25.95 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.6693, allocations: 104.1 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.6693, allocations: 11.95 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.6693, allocations: 13.67 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6695, allocations: 322.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.6695, allocations: 8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.6695, allocations: 21.64 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.6696, allocations: 33.66 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6696, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.789e-05/0.6697, allocations: 57.59 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6697, allocations: 7.938 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6697, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6697, allocations: 3.984 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.6698, allocations: 8 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6698, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.6698, allocations: 12 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.6698, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 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 8.617e-05/0.6699, allocations: 113.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.67, allocations: 11.89 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.67, allocations: 15.86 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.67, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.67, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.67, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.6705, allocations: 478.7 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6705, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.6705, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6705, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.6705, allocations: 3.938 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6705, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6705, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/0.6706, allocations: 81.94 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.6707, allocations: 89.06 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.6707, allocations: 3.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.6707, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.6708, allocations: 3.938 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.6708, allocations: 4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001005/0.6709, allocations: 119.2 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6709, allocations: 4.031 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001993/0.6711, allocations: 8 kB / 1.224 GB, free: 13.32 MB / 0.9512 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.000417/0.6715, allocations: 0.6137 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.6716, allocations: 23.97 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6716, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.6716, allocations: 4 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.6718, allocations: 13.66 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.673, allocations: 1.333 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6734, allocations: 0.6967 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.6734, allocations: 8.516 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.6735, allocations: 27.42 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.6735, allocations: 0 / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.6938, allocations: 1.565 MB / 1.229 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.381, allocations: 24.38 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches