Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_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.007793/0.007793, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002181/0.002181, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.756/2.756, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6913, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001955/0.6933, allocations: 0.8234 MB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.6934, allocations: 39.86 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.6935, allocations: 0 / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.6935, allocations: 7.875 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.6936, allocations: 15.84 kB / 1.221 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.734e-05/0.6937, allocations: 19.92 kB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6938, allocations: 67.84 kB / 1.221 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.6939, allocations: 47.86 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.694, allocations: 31.8 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.694, allocations: 23.86 kB / 1.221 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.6941, allocations: 8 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.6941, allocations: 4 kB / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.6941, allocations: 19.92 kB / 1.221 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.6942, allocations: 31.73 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.6943, allocations: 83.3 kB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6943, allocations: 0 / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6943, allocations: 0 / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6943, allocations: 0 / 1.221 GB, free: 0.7969 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.0004294/0.6947, allocations: 379.1 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6948, allocations: 8.625 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.6948, allocations: 38.75 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.6949, allocations: 12.84 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.6951, allocations: 200.1 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6951, allocations: 12.38 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6951, allocations: 8.375 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.6953, allocations: 90.2 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6953, allocations: 3.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6953, allocations: 11.98 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6953, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.6954, allocations: 39.92 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.6959, allocations: 436.7 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.264e-05/0.696, allocations: 45.23 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.6961, allocations: 17.78 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.6961, allocations: 4 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6961, allocations: 34.56 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.6961, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.6963, allocations: 57.52 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6963, allocations: 85.11 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.6965, allocations: 152.3 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.6965, allocations: 33.64 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.6966, allocations: 104.3 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.6966, allocations: 7.938 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.6967, allocations: 21.67 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6968, allocations: 310.8 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.6968, allocations: 15.92 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.6969, allocations: 21.66 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.6969, allocations: 29.72 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6969, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.199e-05/0.697, allocations: 61.58 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.697, allocations: 7.938 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.697, allocations: 4 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6971, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.6971, allocations: 4 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6971, allocations: 0 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.6972, allocations: 7.938 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.6972, allocations: 4.062 kB / 1.224 GB, free: 14.3 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.305e-05/0.6973, allocations: 113.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.6973, allocations: 15.88 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.6973, allocations: 7.875 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6974, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6974, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6974, allocations: 4 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.6978, allocations: 478.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6978, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.6978, allocations: 3.938 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6978, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.6979, allocations: 3.984 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6979, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6979, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.021e-05/0.698, allocations: 81.95 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.698, allocations: 89.05 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.698, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.6981, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.6981, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.6981, allocations: 3.938 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.459e-05/0.6982, allocations: 121.3 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6982, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001958/0.6984, allocations: 16.03 kB / 1.224 GB, free: 13.25 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.0003814/0.6988, allocations: 0.6137 MB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.6989, allocations: 15.94 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6989, allocations: 4.156 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.6989, allocations: 11.98 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.6991, allocations: 8 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.7003, allocations: 1.331 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.7006, allocations: 0.6963 MB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.7006, allocations: 12.5 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.7007, allocations: 23.44 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.7007, allocations: 0 / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.7222, allocations: 1.591 MB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.31, allocations: 10.11 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches